Misuse RK notes field further.
@@ -253,11 +253,14 @@ class RunKeeperService(ServiceBase):
record["total_calories"] = activity.Stats.Energy.asUnits(ActivityStatisticUnit.Kilocalories).Value
if activity.Stats.Distance.Value is not None:
record["total_distance"] = activity.Stats.Distance.asUnits(ActivityStatisticUnit.Meters).Value
- if activity.Notes:
- if activity.Name:
+
+ if activity.Name and activity.Notes:
record["notes"] = activity.Name + " - " + activity.Notes
- else:
+ elif activity.Notes:
record["notes"] = activity.Notes
+ elif activity.Name:
+ record["notes"] = activity.Name
+
if activity.Private:
record["share"] = "Just Me"
