aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/database.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/wqflask/wqflask/database.py b/wqflask/wqflask/database.py
index 2063190c..4b05c926 100644
--- a/wqflask/wqflask/database.py
+++ b/wqflask/wqflask/database.py
@@ -44,7 +44,6 @@ def database_connection():
)
try:
yield connection
- connection.close()
except Exception:
connection.rollback()
raise