From b361ffcdb3d3869196b46c91635bbb2ac7d4a151 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 17 Jan 2011 17:28:10 +0100 Subject: [PATCH] importbooks bugfix --- apps/catalogue/management/commands/importbooks.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.20.1