Private
Public Access
1
0

fixing bug creating teams for trial users

This commit is contained in:
Sander Roosendaal
2020-04-06 09:46:59 +02:00
parent 47effe503e
commit 1b8185b2c7
6 changed files with 20 additions and 18 deletions

View File

@@ -750,7 +750,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)
with engine.connect() as conn, conn.begin():
result = conn.execute(query)