wip (broken)
This commit is contained in:
@ -21,7 +21,7 @@ from datetime import datetime
|
||||
|
||||
on_transaction = None
|
||||
|
||||
async def init_app(tr_handler=None):
|
||||
def init_app(tr_handler=None):
|
||||
global on_transaction
|
||||
on_transaction = tr_handler
|
||||
app = Flask(__name__, template_folder='../templates', static_folder='../static')
|
||||
@ -38,7 +38,7 @@ async def init_app(tr_handler=None):
|
||||
if not storage.is_connected():
|
||||
await storage.connect()
|
||||
|
||||
asyncio.run(ensure_storage_connection())
|
||||
ensure_storage_connection()
|
||||
|
||||
# oauth = OAuth(app)
|
||||
# google = oauth.remote_app(
|
||||
|
Reference in New Issue
Block a user