From 36345fd02acf70f7d24f41469d8678597a7596f3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 4 Mar 2019 18:45:57 -0800 Subject: [PATCH] settings: Fix definition of DEPLOY_ROOT in dev_settings too. --- zproject/dev_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zproject/dev_settings.py b/zproject/dev_settings.py index 77a5f954ab..9c6ab61899 100644 --- a/zproject/dev_settings.py +++ b/zproject/dev_settings.py @@ -10,7 +10,7 @@ from typing import Set # chdir without having problems accessing it. Unfortunately, this # means we need a duplicate definition of DEPLOY_ROOT with the one in # settings.py. -DEPLOY_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '..') +DEPLOY_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__))) LOCAL_UPLOADS_DIR = os.path.join(DEPLOY_ROOT, 'var/uploads') FORWARD_ADDRESS_CONFIG_FILE = "var/forward_address.ini"