DB config
This commit is contained in:
parent
ddadb3c2aa
commit
a4a455f923
@ -51,7 +51,7 @@ def updateLast(cursor):
|
|||||||
|
|
||||||
## hole alle Fahrten nach letzter Ladung
|
## hole alle Fahrten nach letzter Ladung
|
||||||
sql = '''
|
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)
|
cursor.execute(sql)
|
||||||
rows = cursor.fetchall()
|
rows = cursor.fetchall()
|
||||||
|
Loading…
Reference in New Issue
Block a user