Private
Public Access
1
0

changing workout names if no name

This commit is contained in:
Sander Roosendaal
2021-01-27 08:00:39 +01:00
parent f6aec5b66c
commit 22eebadd91
6 changed files with 9 additions and 9 deletions

View File

@@ -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