Private
Public Access
1
0
This commit is contained in:
2024-12-15 19:27:11 +01:00
parent 2b54fe6aa1
commit aee01a1a4a

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