X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0bd2c341a8b55f817c2e193a6c4658d52ef95961..6c78d4b8976e413f788ab3db1dc899608b70c7f3:/apps/wolnelektury_core/management/commands/translation2po.py diff --git a/apps/wolnelektury_core/management/commands/translation2po.py b/apps/wolnelektury_core/management/commands/translation2po.py index 02a1d0868..6220006fe 100644 --- a/apps/wolnelektury_core/management/commands/translation2po.py +++ b/apps/wolnelektury_core/management/commands/translation2po.py @@ -3,7 +3,6 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # import os -import sys import time from optparse import make_option from django.conf import settings @@ -90,7 +89,7 @@ class Command(BaseCommand): for lng in zip(*languages)[0]: pofile = os.path.join(options['directory'], lng, options['poname'] + '.po') - if not os.path.exists(pofile): + if not os.path.exists(pofile): if options['keep_running']: continue else: