Source

gnocchi-gallery / gnocchi / gallery / management / commands / gallery_sync.py

Diff from to

gnocchi/gallery/management/commands/gallery_sync.py

 import os
 
 class Command(BaseCommand):
-    def handle(self):
+    def handle(self, **kwargs):
         root = os.path.join(settings.MEDIA_ROOT, 'gallery/')
         for slug in os.listdir(root):
             try: