removed UnderArmour / MapMyFitness
This commit is contained in:
@@ -125,7 +125,6 @@ def matchsync(line):
|
||||
tester4 = tester+'(.*)(strava)'
|
||||
tester5 = tester+'(.*)((st)|(sporttracks))'
|
||||
tester6 = tester+'(.*)((rk)|(runkeeper))'
|
||||
tester7 = tester+'(.*)((mapmyfitness)|(underarmour)|(ua))'
|
||||
|
||||
tester = re.compile(tester)
|
||||
|
||||
@@ -262,8 +261,6 @@ def getsyncoptions(uploadoptions,values): # pragma: no cover
|
||||
uploadoptions['upload_to_SportTracks'] = True
|
||||
if v in ['rk','runkeeper']:
|
||||
uploadoptions['upload_to_RunKeeper'] = True
|
||||
if v in ['ua','underarmour','mapmyfitness']:
|
||||
uploadoptions['upload_to_MapMyFitness'] = True
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
@@ -491,7 +488,7 @@ import rowers.c2stuff as c2stuff
|
||||
import rowers.stravastuff as stravastuff
|
||||
import rowers.sporttracksstuff as sporttracksstuff
|
||||
import rowers.runkeeperstuff as runkeeperstuff
|
||||
import rowers.underarmourstuff as underarmourstuff
|
||||
|
||||
import rowers.tpstuff as tpstuff
|
||||
|
||||
from rowers.rower_rules import is_promember
|
||||
@@ -653,14 +650,6 @@ def do_sync(w,options, quick=False):
|
||||
message = "Please connect to Runkeeper first"
|
||||
id = 0
|
||||
|
||||
if ('upload_to_MapMyFitness' in options and options['upload_to_MapMyFitness']) or (w.user.mapmyfitness_auto_export): # pragma: no cover
|
||||
try:
|
||||
message,id = underarmourstuff.workout_ua_upload(
|
||||
w.user.user,w
|
||||
)
|
||||
except NoTokenError:
|
||||
message = "Please connect to MapMyFitness first"
|
||||
id = 0
|
||||
|
||||
|
||||
if ('upload_to_TrainingPeaks' in options and options['upload_to_TrainingPeaks']) or (w.user.trainingpeaks_auto_export): # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user