fix in import
authorJan Szejko <janek37@gmail.com>
Tue, 22 Nov 2016 12:35:29 +0000 (13:35 +0100)
committerJan Szejko <janek37@gmail.com>
Tue, 22 Nov 2016 12:35:29 +0000 (13:35 +0100)
catalogue/management/commands/importlessons.py

index 6c52493..296590b 100755 (executable)
@@ -54,7 +54,7 @@ class Command(BaseCommand):
     @transaction.atomic
     def handle(self, *directories, **options):
 
     @transaction.atomic
     def handle(self, *directories, **options):
 
-        repackage = self.options.get('repackage')
+        repackage = options.get('repackage')
 
         self.levels = set()
 
 
         self.levels = set()