mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Addresses typo in (#192) @ clean up snippets
See (https://github.com/DarrenOfficial/dpaste/issues/215)
This commit is contained in:
parent
245f93cca6
commit
25019615b9
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Command(BaseCommand):
|
|||
timezone.now() - timedelta(seconds=config.EXPIRE_DEFAULT)
|
||||
),
|
||||
)
|
||||
deleteable_snippets = (expired_snippets | onetime_unviewed_snippets)
|
||||
deleteable_snippets = (deleteable_snippets | onetime_unviewed_snippets)
|
||||
|
||||
if len(deleteable_snippets) == 0:
|
||||
self.stdout.write(u"No snippets to delete.")
|
||||
|
|
Loading…
Reference in a new issue