From f9619e4f233f90aec909ed29ec7dc3fce254319a Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 22 Feb 2025 12:17:15 +0100 Subject: [PATCH] fix intervals export --- rowers/integrations/intervals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/integrations/intervals.py b/rowers/integrations/intervals.py index 8d65d39c..e689bdbc 100644 --- a/rowers/integrations/intervals.py +++ b/rowers/integrations/intervals.py @@ -219,7 +219,7 @@ class IntervalsIntegration(SyncIntegration): thetype = mytypes.intervalsmapping[workout.workouttype] jsondict = {'type': thetype} - subtype = w.sub_type + subtype = workout.sub_type if subtype: jsondict['sub_type'] = subtype