Fix off-by-one error in rowspan calcuations
This commit is contained in:
parent
b833b7d869
commit
96a24489b6
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
|
||||
def rowspan(times, start, end):
|
||||
return times.index(end) - times.index(start)
|
||||
return times.index(end) - times.index(start) -1
|
||||
|
||||
|
||||
def pairwise(iterable):
|
||||
|
|
Loading…
Reference in a new issue