sbin/sync/fabfile.py
changeset 66 acc222517dc9
parent 16 e37a29d23c86
child 67 2a27231c10d4
--- a/sbin/sync/fabfile.py	Tue Jun 12 16:05:04 2012 +0200
+++ b/sbin/sync/fabfile.py	Tue Jun 12 18:31:25 2012 +0200
@@ -99,7 +99,7 @@
 def collectstatic(remotepath, remotevirtualenvpath):
     print("Collect static in %s with %s" % (remotepath, remotevirtualenvpath))
     activate_path = os.path.join(remotevirtualenvpath, "bin/activate")
-    with prefix("source \"%s\"" % activate_path), prefix("export PYTHONPATH=\"%s\"" % remotepath), cd(os.path.join(remotepath, env.platform_web_module)):
+    with prefix("source \"%s\"" % activate_path), prefix("export PYTHONPATH=\"%s\"" % remotepath), cd(remotepath):
         run("python manage.py collectstatic --noinput")