Private
Public Access
1
0
This commit is contained in:
2024-12-12 16:50:00 +01:00
parent c5a7b548e2
commit 41abcb59d0
2 changed files with 2 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ from rowingdata import rowingdata
from rowers.rower_rules import is_workout_user
import time
from django_rq import job
from rowers.mytypes import tpmapping
from rowers.tasks import check_tp_workout_id, handle_workout_tp_upload
@@ -66,7 +67,7 @@ class TPIntegration(SyncIntegration):
except TypeError:
newnotes = 'from '+w.workoutsource+' via rowsandall.com'
row.exporttotcx(tcxfilename, notes=newnotes, sport=tpmapping(w.workouttype))
row.exporttotcx(tcxfilename, notes=newnotes, sport=tpmapping[w.workouttype])
return tcxfilename