book admin fix
[wolnelektury.git] / 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: