diff --git a/common/wsgi.py b/common/wsgi.py index 77819d7..0f2367c 100644 --- a/common/wsgi.py +++ b/common/wsgi.py @@ -20,7 +20,7 @@ def upgrade_in_progress(environ, start_response): else: status = '403 Forbidden' start_response(status, response_headers) - return [response] + return [response.encode('utf-8')] if UPGRADING: application = upgrade_in_progress diff --git a/scripts/fabfile.py b/scripts/fabfile.py index 4acf731..ebf4e26 100644 --- a/scripts/fabfile.py +++ b/scripts/fabfile.py @@ -7,7 +7,7 @@ from fabric.utils import abort env.hosts = ['stages.pierre-coullery.ch'] APP_DIR = '/var/www/epcstages' -VIRTUALENV_DIR = '/var/venvs/stages/bin/activate' +VIRTUALENV_DIR = '/var/venvs/stages3/bin/activate' def clone_remote_db(dbtype='sqlite'):