Start repo
This commit is contained in:
11
app/__init__.py
Normal file
11
app/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from flask import Flask, url_for
|
||||
from app.utils import init_app
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
app.config.from_pyfile('config.py')
|
||||
|
||||
if init_app(app.config) == False:
|
||||
exit(1)
|
||||
|
||||
from app import routes
|
||||
Reference in New Issue
Block a user