summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/postrunner/Activity.rb2
-rw-r--r--lib/postrunner/FFS_Activity.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/postrunner/Activity.rb b/lib/postrunner/Activity.rb
index d169461..472b950 100644
--- a/lib/postrunner/Activity.rb
+++ b/lib/postrunner/Activity.rb
@@ -380,7 +380,7 @@ module PostRunner
end
def activity_sub_type
- ActivitySubTypes[@sub_sport] || 'Undefined "#{@sub_sport}"'
+ ActivitySubTypes[@sub_sport] || "Undefined #{@sub_sport}"
end
def distance(timestamp, unit_system)
diff --git a/lib/postrunner/FFS_Activity.rb b/lib/postrunner/FFS_Activity.rb
index ef6e17d..7d343eb 100644
--- a/lib/postrunner/FFS_Activity.rb
+++ b/lib/postrunner/FFS_Activity.rb
@@ -253,7 +253,7 @@ module PostRunner
end
def activity_sub_type
- ActivitySubTypes[@sub_sport] || 'Undefined'
+ ActivitySubTypes[@sub_sport] || "Undefined #{@sub_sport}"
end
def distance(timestamp, unit_system)