Fix Passenger startup script

This commit is contained in:
Midgard 2020-07-18 03:54:33 +02:00
parent dc1596ee71
commit 8a01e74323
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -9,9 +9,7 @@ if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv)
sys.path.append(os.getcwd())
from app import create_app
application = create_app().app
from app import app as application
# For running on the server with passenger etc
if __name__ == "__main__":