diff options
-rw-r--r-- | wqflask/wqflask/database.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/wqflask/wqflask/database.py b/wqflask/wqflask/database.py index d392f1d1..84c494c5 100644 --- a/wqflask/wqflask/database.py +++ b/wqflask/wqflask/database.py @@ -59,11 +59,6 @@ def database_connection() -> Iterator[Connection]: ) try: yield connection - except Exception: - connection.rollback() - raise - else: - connection.commit() finally: connection.close() |