Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Moritz Sokoll
PyBlog
Commits
02e18b98
Commit
02e18b98
authored
Apr 23, 2021
by
Moritz Sokoll
🦀
Browse files
fixed commit check in query.py
parent
0ec3d2ff
Pipeline
#210
passed with stage
in 5 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api/libapi/query.py
View file @
02e18b98
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment