From ddadb3c2aadb55ff3d2bd73c14d52eacd84a94a1 Mon Sep 17 00:00:00 2001 From: ManuelW Date: Sat, 11 May 2024 09:55:17 +0200 Subject: [PATCH] DB config --- insertLoading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insertLoading.py b/insertLoading.py index 5bf1049..82934fe 100644 --- a/insertLoading.py +++ b/insertLoading.py @@ -51,7 +51,7 @@ def updateLast(cursor): ## hole alle Fahrten nach letzter Ladung sql = ''' - SELECT d_total_distance, d_total_ascent, d_avg_speed FROM bike_drives WHERE d_date >= 'row[1]'; + SELECT d_total_distance, d_total_ascent, d_avg_speed FROM bike_drives WHERE d_date >= row[1]; ''' cursor.execute(sql) rows = cursor.fetchall()