X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/c13952acc4bd9baede3ac65350cccb1de9a20eea..d950d9fe00b2f553d253b54a380e9fa762198de2:/catalogue/management/commands/importlessons.py diff --git a/catalogue/management/commands/importlessons.py b/catalogue/management/commands/importlessons.py index 6c52493..296590b 100755 --- a/catalogue/management/commands/importlessons.py +++ b/catalogue/management/commands/importlessons.py @@ -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()