X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8c32aa5dedbfdee7af4b764e38be8c19a45aa2a2..4b98a57e07c61b12f9febe0d452901c1e2d7bfc1:/fabfile.py diff --git a/fabfile.py b/fabfile.py index bd685c652..a9e621d78 100644 --- a/fabfile.py +++ b/fabfile.py @@ -34,7 +34,7 @@ def compile_messages(): print '>>> compiling messages' require('app_path', 'project_name') with cd(get_django_root_path('current')): - run('%(ve)s/bin/python manage.py localepack -c' % env, pty=True) + run('source %(ve)s/bin/activate && python manage.py localepack -c' % env, pty=True) @task