From 4b98a57e07c61b12f9febe0d452901c1e2d7bfc1 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Sun, 31 Jan 2016 01:23:46 +0100 Subject: [PATCH] minor fix in compiling messages via fabric --- fabfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1