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

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