Private
Public Access
1
0

Merge branch 'release/v22.5.3'

This commit is contained in:
2024-12-15 19:27:33 +01:00

View File

@@ -67,7 +67,10 @@ class TPIntegration(SyncIntegration):
except TypeError:
newnotes = 'from '+w.workoutsource+' via rowsandall.com'
row.exporttotcx(tcxfilename, notes=newnotes, sport=tpmapping[w.workouttype])
try:
row.exporttotcx(tcxfilename, notes=newnotes, sport=tpmapping[w.workouttype])
except KeyError:
row.exporttotcx(tcxfilename, notes=newnotes, sport='other')
return tcxfilename