Skip to content

Commit

Permalink
Merge pull request #20 from jat255/fix_description_bug
Browse files Browse the repository at this point in the history
Fix for #19
  • Loading branch information
jat255 authored Oct 15, 2023
2 parents 8875205 + 44bc4fa commit 57208cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions strava_to_fittrackee/s2f.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 57208cf

Please sign in to comment.