DB config
This commit is contained in:
parent
ac1ca4f834
commit
821018a3be
@ -53,7 +53,7 @@ def updateLast(cursor):
|
|||||||
sql = '''
|
sql = '''
|
||||||
SELECT d_total_distance, d_total_ascent, d_avg_speed FROM bike_drives WHERE d_date >= ?;
|
SELECT d_total_distance, d_total_ascent, d_avg_speed FROM bike_drives WHERE d_date >= ?;
|
||||||
'''
|
'''
|
||||||
cursor.execute(sql, row[1])
|
cursor.execute(sql, (row[1],))
|
||||||
rows = cursor.fetchall()
|
rows = cursor.fetchall()
|
||||||
|
|
||||||
total_range = 0
|
total_range = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user