2015-05-17 | Paul Boddie | raw files shortlog changelog graph | Fixed period instantiation. | |
imiptools/period.py (file) |
1.1 --- a/imiptools/period.py Sun May 17 18:45:48 2015 +0200 1.2 +++ b/imiptools/period.py Sun May 17 18:47:06 2015 +0200 1.3 @@ -243,7 +243,7 @@ 1.4 originally-defined occurrence. 1.5 """ 1.6 1.7 - found = bisect_left(freebusy, Period(start)) 1.8 + found = bisect_left(freebusy, Period(start, start)) 1.9 while found < len(freebusy): 1.10 fb = freebusy[found] 1.11