1.1 --- a/imiptools/handlers/scheduling/freebusy.py Fri Apr 22 20:28:02 2016 +0200
1.2 +++ b/imiptools/handlers/scheduling/freebusy.py Fri Apr 22 20:30:51 2016 +0200
1.3 @@ -147,9 +147,9 @@
1.4 if permitted_values:
1.5 period = period.get_corrected(permitted_values)
1.6
1.7 - scheduled = handler.can_schedule(freebusy, [period])
1.8 + scheduled = handler.can_schedule(busy, [period])
1.9
1.10 - if scheduled == "ACCEPTED":
1.11 + if scheduled:
1.12 periods.append(period)
1.13 last = period.get_end()
1.14 continue