From: Radek Czajka Date: Mon, 17 Jan 2011 16:28:10 +0000 (+0100) Subject: importbooks bugfix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/b361ffcdb3d3869196b46c91635bbb2ac7d4a151?ds=inline;hp=--cc importbooks bugfix --- b361ffcdb3d3869196b46c91635bbb2ac7d4a151 diff --git a/apps/catalogue/management/commands/importbooks.py b/apps/catalogue/management/commands/importbooks.py index 71a7eb290..4c64bc390 100644 --- a/apps/catalogue/management/commands/importbooks.py +++ b/apps/catalogue/management/commands/importbooks.py @@ -39,6 +39,7 @@ class Command(BaseCommand): force = options.get('force') show_traceback = options.get('traceback', False) + wait_until = None if options.get('wait_until'): wait_until = time.mktime(time.strptime(options.get('wait_until'), '%Y-%m-%d %H:%M:%S')) if verbose > 0: