Revert "Fix off-by-one error in rowspan calcuations"
This reverts commit 96a24489b6
.
This commit is contained in:
parent
f69e7ac52d
commit
25bff81eab
1 changed files with 1 additions and 1 deletions
2
vendor/symposion/schedule/timetable.py
vendored
2
vendor/symposion/schedule/timetable.py
vendored
|
@ -42,7 +42,7 @@ class TimeTable(object):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def rowspan(times, start, end):
|
def rowspan(times, start, end):
|
||||||
return times.index(end) - times.index(start) -1
|
return times.index(end) - times.index(start)
|
||||||
|
|
||||||
|
|
||||||
def pairwise(iterable):
|
def pairwise(iterable):
|
||||||
|
|
Loading…
Reference in a new issue