small alert fix

This commit is contained in:
CEF Server 2025-03-02 23:57:28 +00:00
parent 01dafa0d88
commit 861c672910
2 changed files with 10 additions and 12 deletions

View file

@ -23,9 +23,3 @@ ergoEngine = create_engine(
)
SessionMaker = sessionmaker(autocommit=False, autoflush=False, bind=engine, )
def ergoQueryFetchOne(q: str, **kwargs):
with ergoEngine.connect() as connection:
connection.execute(text("use ergo"))
return connection.execute(text(q), kwargs).fetchone()