doing trainingpeaks, untested
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from rowers.mytypes import workouttypes, boattypes, otwtypes, workoutsources, workouttypes_ordered
|
||||
|
||||
from rowers.rower_rules import is_promember
|
||||
import rowers.tpstuff as tpstuff
|
||||
|
||||
from rowers.integrations import *
|
||||
from rowers.utils import (
|
||||
@@ -270,9 +269,8 @@ def do_sync(w, options, quick=False):
|
||||
upload_to_st = False
|
||||
if do_tp_export:
|
||||
try:
|
||||
_, id = tpstuff.workout_tp_upload(
|
||||
w.user.user, w
|
||||
)
|
||||
tp_integration = TPIntegration(w.user.user)
|
||||
id = tp_integration.workout_export(w)
|
||||
dologging('tp_export.log',
|
||||
'exported workout {wid} for user {uid}'.format(
|
||||
wid = w.id,
|
||||
|
||||
Reference in New Issue
Block a user