Format using black
This commit is contained in:
parent
da8b0fc323
commit
effb56ef1d
7 changed files with 9 additions and 8 deletions
|
|
@ -53,7 +53,7 @@ class Command(BaseCommand):
|
|||
# Delete them if --delete
|
||||
if options["delete"]:
|
||||
self.stdout.write(" Deleting duplicate in {} :".format(gallery.slug))
|
||||
for (_original, copies) in duplicates:
|
||||
for _original, copies in duplicates:
|
||||
for copy in copies:
|
||||
self.stdout.write(" Deleting {}...".format(copy.slug))
|
||||
copy.delete()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ from photologue.models import ImageModel, PhotoSize
|
|||
|
||||
|
||||
class Command(BaseCommand):
|
||||
|
||||
help = "Manages Photologue cache file for the given sizes."
|
||||
|
||||
def add_arguments(self, parser):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue