option to exclude lessons by slugs
[edumed.git] / catalogue / management / commands / importlessons.py
index 6c52493..296590b 100755 (executable)
@@ -54,7 +54,7 @@ class Command(BaseCommand):
     @transaction.atomic
     def handle(self, *directories, **options):
 
-        repackage = self.options.get('repackage')
+        repackage = options.get('repackage')
 
         self.levels = set()