diff --git a/conf/gunicorn_local.py b/conf/gunicorn_local.py index ced24647a..bf312a5ef 100644 --- a/conf/gunicorn_local.py +++ b/conf/gunicorn_local.py @@ -1,5 +1,9 @@ -from Crypto import Random +import sys +import os +sys.path.append(os.path.join(os.path.dirname(__file__), "../")) + from util.log import logfile_path +from Crypto import Random logconfig = logfile_path(debug=True) diff --git a/conf/gunicorn_registry.py b/conf/gunicorn_registry.py index 8ee035963..87e3106a2 100644 --- a/conf/gunicorn_registry.py +++ b/conf/gunicorn_registry.py @@ -1,5 +1,9 @@ -from Crypto import Random +import sys +import os +sys.path.append(os.path.join(os.path.dirname(__file__), "../")) + from util.log import logfile_path +from Crypto import Random logconfig = logfile_path(debug=False) diff --git a/conf/gunicorn_secscan.py b/conf/gunicorn_secscan.py index 2c5cb33fd..69ab0fd1f 100644 --- a/conf/gunicorn_secscan.py +++ b/conf/gunicorn_secscan.py @@ -1,5 +1,9 @@ -from Crypto import Random +import sys +import os +sys.path.append(os.path.join(os.path.dirname(__file__), "../")) + from util.log import logfile_path +from Crypto import Random logconfig = logfile_path(debug=False) diff --git a/conf/gunicorn_verbs.py b/conf/gunicorn_verbs.py index d271d94f0..57e3748b7 100644 --- a/conf/gunicorn_verbs.py +++ b/conf/gunicorn_verbs.py @@ -1,5 +1,9 @@ -from Crypto import Random +import sys +import os +sys.path.append(os.path.join(os.path.dirname(__file__), "../")) + from util.log import logfile_path +from Crypto import Random logconfig = logfile_path(debug=False) diff --git a/conf/gunicorn_web.py b/conf/gunicorn_web.py index 85b4c0fcf..411ae1190 100644 --- a/conf/gunicorn_web.py +++ b/conf/gunicorn_web.py @@ -1,5 +1,9 @@ -from Crypto import Random +import sys +import os +sys.path.append(os.path.join(os.path.dirname(__file__), "../")) + from util.log import logfile_path +from Crypto import Random logconfig = logfile_path(debug=False)