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

@@ -239,7 +239,7 @@ def create_async_workout(alldata,user,c2id):
t = data['comments'].split('\n', 1)[0]
title += t[:40]
except:
title = 'Imported'
title = ''
weightcategory = 'hwt'
if weightclass == "L":
@@ -1152,7 +1152,7 @@ def add_workout_from_data(user,importid,data,strokedata,
t = data['comments'].split('\n', 1)[0]
title += t[:40]
except:
title = 'Imported'
title = ''
try:
comments = data['comments']