X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0bd2c341a8b55f817c2e193a6c4658d52ef95961..4636545e1fcf56506512ec8f136e32aae29641b2:/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: