importbooks bugfix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 17 Jan 2011 16:28:10 +0000 (17:28 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 17 Jan 2011 16:28:10 +0000 (17:28 +0100)
apps/catalogue/management/commands/importbooks.py

index 71a7eb2..4c64bc3 100644 (file)
@@ -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: