mattermore/passenger_wsgi.py

13 lines
230 B
Python
Raw Permalink Normal View History

2019-02-13 20:00:13 +00:00
#!/usr/bin/env python3
import sys
import os
INTERP = os.path.expanduser("~/env/bin/python3")
if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv)
sys.path.append(os.getcwd())
from app import app as application