Skip to content

Commit

Permalink
Add web mock to Python path
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Nov 28, 2024
1 parent 59beae0 commit c2b8cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wsgi/yoda_web_mock_datacite.wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions wsgi/yoda_web_mock_sram.wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c2b8cbf

Please sign in to comment.