fix(wsgi): added docstring
This commit is contained in:
9
wsgi.py
9
wsgi.py
@@ -1,6 +1,11 @@
|
|||||||
import os, sys
|
"""
|
||||||
|
WSGI entrypont
|
||||||
|
"""
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
from app import create_app
|
||||||
|
|
||||||
app_path = os.path.dirname(os.path.abspath(__file__))
|
app_path = os.path.dirname(os.path.abspath(__file__))
|
||||||
sys.path.insert(0, app_path)
|
sys.path.insert(0, app_path)
|
||||||
|
|
||||||
from app import create_app
|
|
||||||
application = create_app()
|
application = create_app()
|
||||||
|
|||||||
Reference in New Issue
Block a user