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: