aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-27 21:38:05 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-27 21:38:05 +0200
commit585c2d6247d01c1974906d7b0dce2dcb2d10b41c (patch)
treebe3fe030a34a028065f0df1a97ea360e1de2a8e8
parent2c9064115d743ac22fef10c7b37c80af10329130 (diff)
downloadramaskrik-program-585c2d6247d01c1974906d7b0dce2dcb2d10b41c.tar.gz
ramaskrik-program-585c2d6247d01c1974906d7b0dce2dcb2d10b41c.tar.bz2
ramaskrik-program-585c2d6247d01c1974906d7b0dce2dcb2d10b41c.zip
Filter out "Ramaskrik" dummy room.
-rw-r--r--ramaskrik-program.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ramaskrik-program.rb b/ramaskrik-program.rb
index 1a681bf..5014260 100644
--- a/ramaskrik-program.rb
+++ b/ramaskrik-program.rb
@@ -49,7 +49,7 @@ days.each do |d, movies|
timescale_divisions: "30 minutes",
})
- movies.group_by { |m| m.venue }.each do |title, data|
+ movies.group_by { |m| m.venue }.delete_if { |t, _| t == "Ramaskrik" }.each do |title, data|
graph.add_data(title: title, data: data)
end