Changeset - 96a24489b6d2
[Not reviewed]
0 1 0
James Polley - 6 years ago 2017-12-24 08:20:14
jp@jamezpolley.com
Fix off-by-one error in rowspan calcuations
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vendor/symposion/schedule/timetable.py
Show inline comments
...
 
@@ -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):
0 comments (0 inline, 0 general)