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