From 96a24489b6d2a2b14d9bc2913cdb8183481ebfd1 Mon Sep 17 00:00:00 2001 From: James Polley Date: Sun, 24 Dec 2017 15:00:19 +1100 Subject: [PATCH] Fix off-by-one error in rowspan calcuations --- vendor/symposion/schedule/timetable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/symposion/schedule/timetable.py b/vendor/symposion/schedule/timetable.py index 9fcb627d..d671c74b 100644 --- a/vendor/symposion/schedule/timetable.py +++ b/vendor/symposion/schedule/timetable.py @@ -42,7 +42,7 @@ class TimeTable(object): @staticmethod def rowspan(times, start, end): - return times.index(end) - times.index(start) + return times.index(end) - times.index(start) -1 def pairwise(iterable):