1.1 --- a/imip_manager.py Sat Feb 07 17:33:31 2015 +0100
1.2 +++ b/imip_manager.py Sat Feb 07 17:38:38 2015 +0100
1.3 @@ -979,7 +979,7 @@
1.4
1.5 # Add empty days.
1.6
1.7 - add_empty_days(days, partitioned, tzid)
1.8 + add_empty_days(days, tzid)
1.9
1.10 # Show the controls permitting day selection.
1.11
1.12 @@ -1127,7 +1127,7 @@
1.13
1.14 # Some rows contain no period details and are marked as such.
1.15
1.16 - have_active = reduce(lambda x, y: x or y, [slots.get(point) for slots in groups], None)
1.17 + have_active = reduce(lambda x, y: x or y, [slots and slots.get(point) for slots in groups], None)
1.18
1.19 css = " ".join(
1.20 ["slot"] +