summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2015-11-22 14:07:25 +0100
committerChris Schlaeger <chris@linux.com>2015-11-22 14:07:25 +0100
commit7a6ef177d599bb1ef31702a0b6fabe774f29b1d8 (patch)
tree2f1def98a8a2e0e884a27da2d28ae1f172654b6d
parentac090a01a8202e37971a67af117eeeed0470c042 (diff)
downloadpostrunner-7a6ef177d599bb1ef31702a0b6fabe774f29b1d8.zip
Fix typo in EventList creator that caused crashes.
-rw-r--r--lib/postrunner/EventList.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/EventList.rb b/lib/postrunner/EventList.rb
index 0a1d662..06100ce 100644
--- a/lib/postrunner/EventList.rb
+++ b/lib/postrunner/EventList.rb
@@ -107,7 +107,7 @@ module PostRunner
name = 'Power low alert'
value = event.power_low_alert
when 'time_duration_alert'
- name 'Time duration alert'
+ name = 'Time duration alert'
value = event.time_duration_alert
when 'calorie_duration_alert'
name = 'Calorie duration alert'