This commit is contained in:
2026-03-02 09:34:56 +00:00
parent 20aa3d6246
commit 9536bb9157
+1 -4
View File
@@ -117,10 +117,7 @@ def lookup():
(name,) (name,)
) )
item = cursor.fetchone() item = cursor.fetchone()
cursor.execute( cursor.execute("SELECT default_time FROM val")
"SELECT default_time FROM val",
(name,)
)
default_time_row = cursor.fetchone() default_time_row = cursor.fetchone()
default_time = default_time_row[0] if default_time_row else DEFAULT_TIME default_time = default_time_row[0] if default_time_row else DEFAULT_TIME
conn.close() conn.close()