From c76d0e8009b26aafc81586982aac0006c1226742 Mon Sep 17 00:00:00 2001 From: ManuelW Date: Sat, 11 May 2024 11:31:26 +0200 Subject: [PATCH] DB config --- insertLoading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insertLoading.py b/insertLoading.py index 980b413..8d7f297 100644 --- a/insertLoading.py +++ b/insertLoading.py @@ -46,7 +46,7 @@ def updateLast(db, cursor): cursor.execute(sql) row = cursor.fetchone() - if not row[0]: + if not row: insertNew(db, cursor) else: