Private
Public Access
1
0

First attempt at processing strava webhook create

This commit is contained in:
Sander Roosendaal
2020-07-12 12:54:50 +02:00
parent d0a2d04aef
commit 3564a89e02
6 changed files with 284 additions and 7 deletions

View File

@@ -754,7 +754,7 @@ def update_workout_field_sql(workoutid,fieldname,value,debug=False):
table = 'rowers_workout'
query = "UPDATE %s SET %s = %s WHERE `id` = %s;" % (table,fieldname,value,workoutid)
query = "UPDATE %s SET %s = '%s' WHERE `id` = %s;" % (table,fieldname,value,workoutid)
with engine.connect() as conn, conn.begin():