diff --git a/insertLoading.py b/insertLoading.py index 3fc99e2..ca9d286 100644 --- a/insertLoading.py +++ b/insertLoading.py @@ -74,9 +74,9 @@ def updateLast(cursor): data = (total_range, total_ascent, watt, fahrten) sql = ''' UPDATE bike_loading SET - l_total_range = ? - l_total_ascent = ? - l_loaded_wh = ? + l_total_range = ?, + l_total_ascent = ?, + l_loaded_wh = ?, l_fahrten = ? WHERE id = ins_id '''