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, boattype=boattype,
ownerfirst=ownerfirst, ownerfirst=ownerfirst,
ownerlast=ownerlast, ownerlast=ownerlast,
) )
except ValueError: except (ValueError, AttributeError):
stri = 'workout' stri = workout.name
return stri return stri