fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user