Skip to content

Commit

Permalink
fix: message field key
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeizzo committed Jan 13, 2025
1 parent e123923 commit c6b8244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garmindb/activity_fit_file_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _write_split_entry(self, fit_file, message_fields, split_num):
'stop_time' : fit_file.utc_datetime_to_local(message_fields.timestamp),
'elapsed_time' : message_fields.get('total_elapsed_time'),
'moving_time' : message_fields.get('total_timer_time'),
'avg_hr' : message_fields.get('min_heart_rate'),
'avg_hr' : message_fields.get('avg_heart_rate'),
'max_hr' : message_fields.get('max_heart_rate'),
'calories' : message_fields.get('total_calories'),
'ascent' : message_fields.get('total_ascent'),
Expand Down

0 comments on commit c6b8244

Please sign in to comment.