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