From: Jan Szejko Date: Tue, 22 Nov 2016 12:35:29 +0000 (+0100) Subject: fix in import X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/b6c1cde7edcd6c43b53bba93342b3f07b357f152?ds=inline fix in import --- 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()