wip (broken)

This commit is contained in:
Dobromir Popov
2024-11-15 00:22:20 +02:00
parent b623c4cb15
commit fee5b516a1
4 changed files with 212 additions and 211 deletions

View File

@ -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(