Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2022-09-20 18:50:53 +02:00
parent d4f501d20c
commit 396eb13929

View File

@@ -3552,9 +3552,9 @@ class Workout(models.Model):
boattype=boattype,
ownerfirst=ownerfirst,
ownerlast=ownerlast,
)
except ValueError:
stri = 'workout'
)
except (ValueError, AttributeError):
stri = workout.name
return stri