X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a6638c3bf05511aa43d6511436014921f00b169..1c07de888eadc1333264d627ffdff1066a5f01b9:/apps/catalogue/management/commands/importbooks.py 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: