setup.py: fix compilation of translation files
This commit is contained in:
parent
992997dd9e
commit
8bd135e36a
2
setup.py
2
setup.py
|
@ -28,7 +28,7 @@ class compile_translations(Command):
|
|||
try:
|
||||
from django.core.management.commands.compilemessages import \
|
||||
compile_messages
|
||||
for path in ['portail_citoyen'] + glob.glob('portail_citoyen/apps/*'):
|
||||
for path in ['portail_citoyen2'] + glob.glob('portail_citoyen2/apps/*'):
|
||||
if path.endswith('.py'):
|
||||
continue
|
||||
if not os.path.isdir(os.path.join(path, 'locale')):
|
||||
|
|
Reference in New Issue