Private
Public Access
1
0
This commit is contained in:
2024-01-22 21:12:21 +01:00
parent 7b84f659c5
commit 61089d4c2b
3 changed files with 13 additions and 9 deletions

View File

@@ -3582,7 +3582,7 @@ class Workout(models.Model):
boattype = self.boattype
workouttype = self.workouttype
if workouttype != 'water':
if workouttype not in ['water','rower']:
try:
stri = u'{d} {n} {dist}m {duration} {workouttype} {ownerfirst} {ownerlast}'.format(
d=date.strftime('%Y-%m-%d'),