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