Private
Public Access
1
0

analysis split

This commit is contained in:
2025-06-02 20:24:46 +02:00
parent 5a024ac018
commit e409c564ab
10 changed files with 70 additions and 2 deletions

View File

@@ -3854,9 +3854,9 @@ class Workout(models.Model):
if self.timezone == 'tzutc()':
self.timezone = 'UTC' # pragma: no cover
if self.workouttype in mytypes.otwtypes and self.boattype in mytypes.ergtypes:
if self.workouttype in mytypes.otwtypes and self.boattype in mytypes.ergtypes_check:
self.boattype = '1x'
elif self.workouttype in mytypes.otetypes and self.boattype in mytypes.boattypes:
elif self.workouttype in mytypes.otetypes and self.boattype in mytypes.boattypes_check:
self.boattype = 'static'
records = VirtualRaceResult.objects.filter(workoutid=self.pk)