--- 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")