DB config
This commit is contained in:
parent
a4a455f923
commit
ac1ca4f834
@ -51,9 +51,9 @@ 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 >= ?;
|
||||
'''
|
||||
cursor.execute(sql)
|
||||
cursor.execute(sql, row[1])
|
||||
rows = cursor.fetchall()
|
||||
|
||||
total_range = 0
|
||||
|
Loading…
Reference in New Issue
Block a user