summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-08-25 21:20:49 +0200
committerBotond Hende <nettingman@gmail.com>2024-08-25 21:20:49 +0200
commitd41aa536f647726f3d58eb24ae16d5c75d278e0c (patch)
treeb44bd5ba138969646977e819d2908fdcf15d8979 /modules
parenta0e04e28bbab7ecc6a0c3b1bee72da303b82aebd (diff)
renamed variables
Diffstat (limited to 'modules')
-rw-r--r--modules/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database.py b/modules/database.py
index f75f68e..9a7131c 100644
--- a/modules/database.py
+++ b/modules/database.py
@@ -7,6 +7,6 @@ db_dir = os.path.dirname(Config.DATABASE_PATH)
Path(db_dir).mkdir(parents=True, exist_ok=True)
assert sqlite3.threadsafety == 3, "QLite thread safety is not set to 'Serialized'."
-sq_con = sqlite3.connect(Config.DATABASE_PATH)
-cursor = sq_con.cursor()
+conn = sqlite3.connect(Config.DATABASE_PATH)
+cursor = conn.cursor()