Commit d82bfa19 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Fix hardcoded python version in archweb.wsgi

parent 45e7fddd
......@@ -4,8 +4,9 @@ import sys
import site
base_path = "/srv/http/archweb"
py_version = sys.version_info
site.addsitedir('/srv/http/archweb-env/lib/python{}.{}/site-packages'.format(py_version.major, py_version.minor))
sys.path.insert(0, base_path)
os.environ['DJANGO_SETTINGS_MODULE'] = "settings"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment