DB config

This commit is contained in:
Manuel Weiser 2024-05-11 10:02:28 +02:00
parent 2612a1f2b2
commit 328906d814

View File

@ -74,9 +74,9 @@ def updateLast(cursor):
data = (total_range, total_ascent, watt, fahrten) data = (total_range, total_ascent, watt, fahrten)
sql = ''' sql = '''
UPDATE bike_loading SET UPDATE bike_loading SET
l_total_range = ? l_total_range = ?,
l_total_ascent = ? l_total_ascent = ?,
l_loaded_wh = ? l_loaded_wh = ?,
l_fahrten = ? l_fahrten = ?
WHERE id = ins_id WHERE id = ins_id
''' '''