Private
Public Access
1
0

Merge branch 'release/v11.19'

This commit is contained in:
Sander Roosendaal
2020-03-01 12:05:08 +01:00

View File

@@ -1272,6 +1272,9 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
message = "Warning: This workout overlaps with an existing one and was marked as a duplicate"
duplicate = True
# test title length
if len(title)>149:
title = title[0:149]
w = Workout(user=r, name=title, date=workoutdate,
workouttype=workouttype,