From 44bc4fa670c67bb23cf5f3a04d0547cb9a72b2a4 Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Sun, 15 Oct 2023 13:31:22 -0600 Subject: [PATCH] Fix for #19 --- pyproject.toml | 2 +- strava_to_fittrackee/s2f.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5571661..6e07d70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "strava-to-fittrackee" -version = "0.2.3" +version = "0.2.5" description = "Pull workouts from Strava and upload to FitTrackee" authors = ["Joshua Taillon "] license = "MIT" diff --git a/strava_to_fittrackee/s2f.py b/strava_to_fittrackee/s2f.py index 9b1c78f..07d5abb 100644 --- a/strava_to_fittrackee/s2f.py +++ b/strava_to_fittrackee/s2f.py @@ -522,6 +522,7 @@ def create_activity_from_strava(self, activity: dict, get_streams: bool = True): gear = self.get_gear(activity["gear_id"]) if activity["gear_id"] else None description = activity["description"] + description = "" if description is None else description return Activity( activity_dict=activity,