Commit 02e18b98 authored by Moritz Sokoll's avatar Moritz Sokoll 🦀
Browse files

fixed commit check in query.py

parent 0ec3d2ff
Pipeline #210 passed with stage
in 5 minutes and 33 seconds
......@@ -64,7 +64,7 @@ class DatabaseConnector:
elif fetch_mode == "ONE":
res = cursor.fetchone()
# check if the changes need to be commited to the database
if commit = True:
if commit:
connection.commit()
cursor.close()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment