From 25019615b961d5eae5b7979c809198beedc94665 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 9 Aug 2022 19:29:09 -0500 Subject: [PATCH] Addresses typo in (#192) @ clean up snippets See (https://github.com/DarrenOfficial/dpaste/issues/215) --- dpaste/management/commands/cleanup_snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpaste/management/commands/cleanup_snippets.py b/dpaste/management/commands/cleanup_snippets.py index 1e5db72..6c102e8 100644 --- a/dpaste/management/commands/cleanup_snippets.py +++ b/dpaste/management/commands/cleanup_snippets.py @@ -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.")