From: Guillaume Pellerin Date: Mon, 25 Nov 2013 17:01:07 +0000 (+0100) Subject: fix options X-Git-Tag: 1.5.0rc3~38 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=716b1e270b0b5e4395827b9907ae3751a9895156;p=telemeta.git fix options --- diff --git a/telemeta/management/commands/telemeta-crem-import.py b/telemeta/management/commands/telemeta-crem-import.py index f3eda11d..11bcc017 100644 --- a/telemeta/management/commands/telemeta-crem-import.py +++ b/telemeta/management/commands/telemeta-crem-import.py @@ -61,7 +61,7 @@ class Command(BaseCommand): """ help = "import CREM collections" - args = 'options source_dir pattern log_file' + args = 'source_dir pattern log_file' admin_email = 'webmaster@parisson.com' def write_file(self, item, wave_file): @@ -85,7 +85,7 @@ class Command(BaseCommand): self.logger = Logger(args[-1]) self.pattern = args[-2] self.source_dir = args[-3] - self.options = args[1:-4] + self.options = options self.domain = Site.objects.all()[0].domain self.user = User.objects.filter(username='admin')[0]