This commit is contained in:
Aevann1 2021-12-24 05:15:43 +02:00
parent 397f4add35
commit a3f8b9f4e5
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
from .get import *
from .alerts import *
from files.helpers.const import *
from flask import db_session
from files.__main__ import db_session
def get_logged_in_user():
if not (hasattr(g, 'db') and g.db): g.db = db_session()