remotes/1693045480750635534/spooky-22
Aevann1 2021-09-16 10:22:21 +02:00
parent d137c6f130
commit 0dc62cc38e
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ def before_request():
g.system="other/other"
@app.teardown_appcontext
def teardown_request():
def teardown_request(error):
if hasattr(g, 'db') and g.db:
g.db.commit()
g.db.close()