Commit 9775b809 authored by Antonin Dvorak's avatar Antonin Dvorak
Browse files

sqlite3 - fix

parent 4187230c
...@@ -18,7 +18,8 @@ def modify_db(conn, ...@@ -18,7 +18,8 @@ def modify_db(conn,
additional arguments for execute query, optional additional arguments for execute query, optional
""" """
with conn.cursor() as c: with conn:
c = conn.cursor()
for x in range(1, 11): for x in range(1, 11):
try: try:
if args: if args:
......
Markdown is supported
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