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

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