Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed recursive use of cursor #317

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Fixed recursive use of cursor #317

merged 1 commit into from
Aug 20, 2024

Conversation

donaldzou
Copy link
Owner

No description provided.

@donaldzou donaldzou merged commit 3c50e47 into main Aug 20, 2024
2 checks passed
@donaldzou donaldzou deleted the v4.0-fix3 branch August 20, 2024 07:02
src/dashboard.py Dismissed Show dismissed Hide dismissed
def sqlUpdate(statement: str, paramters: tuple = ()) -> sqlite3.Cursor:
with sqldb:
cursor = sqldb.cursor()
cursor.execute(statement, paramters)

Check failure

Code scanning / CodeQL

SQL query built from user-controlled sources High

This SQL query depends on a
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant