fix
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user