changing workout names if no name
This commit is contained in:
@@ -2732,7 +2732,7 @@ def handle_c2_async_workout(alldata,userid,c2token,c2id,debug=False,**kwargs):
|
||||
t = data['comments'].split('\n', 1)[0]
|
||||
title += t[:40]
|
||||
except:
|
||||
title = 'Imported'
|
||||
title = ''
|
||||
|
||||
weightcategory = 'hwt'
|
||||
if weightclass == "L":
|
||||
@@ -3070,7 +3070,7 @@ def fetch_strava_workout(stravatoken,oauth_data,stravaid,csvfilename,userid,debu
|
||||
t = data['comments'].split('\n', 1)[0]
|
||||
title += t[:20]
|
||||
except:
|
||||
title = 'Imported'
|
||||
title = ''
|
||||
|
||||
starttimeunix = arrow.get(rowdatetime).timestamp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user