From c91ac2486cc0feae6fa2f87b30cc258fd92c566b Mon Sep 17 00:00:00 2001 From: ManuelW Date: Sat, 11 May 2024 11:41:01 +0200 Subject: [PATCH] DB config --- insertLoading.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/insertLoading.py b/insertLoading.py index 4b8e490..9bc0e88 100644 --- a/insertLoading.py +++ b/insertLoading.py @@ -46,9 +46,7 @@ def updateLast(db, cursor): cursor.execute(sql) row = cursor.fetchone() - print("row:", row[0]) - - if not row[0]: + if not row: print("DB leer, lege neu an.") else: