Fix Passenger startup script
This commit is contained in:
parent
dc1596ee71
commit
8a01e74323
1 changed files with 1 additions and 3 deletions
|
@ -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__":
|
||||
|
|
Loading…
Reference in a new issue