restore autoflush

pull/142/head
Aevann 2023-03-16 06:20:10 +02:00
parent 132f7a4115
commit f08fb81871
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import tldextract
import datetime
engine = create_engine(environ.get("DATABASE_URL").strip())
db_session = scoped_session(sessionmaker(bind=engine, autoflush=False))
db_session = scoped_session(sessionmaker(bind=engine))
db = db_session()
t = datetime.datetime.now()