From 6819e54af28b4e1617a46a31c08df0349d31cb1d Mon Sep 17 00:00:00 2001 From: ManuelW Date: Sat, 11 May 2024 11:24:39 +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..503fc35 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 len(row[0]) < 1: insertNew(db, cursor) else: