X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/c13952acc4bd9baede3ac65350cccb1de9a20eea..8600d827929e94c11d89229fde489dd1adde2cf6:/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()