Revert "Fix off-by-one error in rowspan calcuations"

This reverts commit 96a24489b6.
This commit is contained in:
James Polley 2017-12-25 21:44:31 +11:00
parent f69e7ac52d
commit 25bff81eab

View file

@ -42,7 +42,7 @@ class TimeTable(object):
@staticmethod
def rowspan(times, start, end):
return times.index(end) - times.index(start) -1
return times.index(end) - times.index(start)
def pairwise(iterable):