Addresses typo in (#192) @ clean up snippets

See (https://github.com/DarrenOfficial/dpaste/issues/215)
This commit is contained in:
Darren 2022-08-09 19:29:09 -05:00 committed by GitHub
parent 245f93cca6
commit 25019615b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.")