From b6c1cde7edcd6c43b53bba93342b3f07b357f152 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 22 Nov 2016 13:35:29 +0100 Subject: [PATCH 1/1] fix in import --- catalogue/management/commands/importlessons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.20.1