Skip to content

Commit

Permalink
GH-98: Also accept boolean values in commute column
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-ueding committed Mar 2, 2024
1 parent a45a1a6 commit c8fd75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo_activity_playground/importers/strava_checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def convert_strava_checkout(
activity_date = dateutil.parser.parse(row["Activity Date"])
activity_name = row["Activity Name"]
activity_kind = row["Activity Type"]
is_commute = row["Commute"] == "true"
is_commute = row["Commute"] == "true" or row["Commute"] == True
equipment = (
nan_as_none(row["Activity Gear"])
or nan_as_none(row["Bike"])
Expand Down

0 comments on commit c8fd75f

Please sign in to comment.