From c2b8cbfd85a3f3e9eeac3f15bc04153dc2efd9b6 Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Thu, 28 Nov 2024 15:59:47 +0100 Subject: [PATCH] Add web mock to Python path --- wsgi/yoda_web_mock_datacite.wsgi | 1 + wsgi/yoda_web_mock_sram.wsgi | 1 + 2 files changed, 2 insertions(+) diff --git a/wsgi/yoda_web_mock_datacite.wsgi b/wsgi/yoda_web_mock_datacite.wsgi index 57acfa9..fa3a687 100644 --- a/wsgi/yoda_web_mock_datacite.wsgi +++ b/wsgi/yoda_web_mock_datacite.wsgi @@ -3,6 +3,7 @@ import os import sys +sys.path.append('/var/www/webmock/yoda-web-mock') activate_this = '/var/www/webmock/venv/bin/activate_this.py' with open(activate_this) as file_: exec(file_.read(), dict(__file__=activate_this)) diff --git a/wsgi/yoda_web_mock_sram.wsgi b/wsgi/yoda_web_mock_sram.wsgi index c0191f0..3c59a13 100644 --- a/wsgi/yoda_web_mock_sram.wsgi +++ b/wsgi/yoda_web_mock_sram.wsgi @@ -3,6 +3,7 @@ import os import sys +sys.path.append('/var/www/webmock/yoda-web-mock') activate_this = '/var/www/webmock/venv/bin/activate_this.py' with open(activate_this) as file_: exec(file_.read(), dict(__file__=activate_this))