From 18761562b3da0c1dc0f0a91031a67161b939802b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 20 Sep 2021 21:41:50 +0200 Subject: [PATCH] fdsf --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 1031e774c..50d14d934 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -113,7 +113,7 @@ class RetryingQuery(_Query): Base = declarative_base() -db_session = scoped_session(sessionmaker(bind=_engine, query_cls=RetryingQuery, autoflush=False)) +db_session = scoped_session(sessionmaker(bind=_engine, query_cls=RetryingQuery)) @app.before_request