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