1.1 --- a/imip_manager.py Sun Feb 08 20:07:47 2015 +0100
1.2 +++ b/imip_manager.py Sun Feb 08 20:18:08 2015 +0100
1.3 @@ -490,7 +490,7 @@
1.4 t = self.handle_date_controls("dtstart")
1.5 if t:
1.6 dtstart, attr = t
1.7 - update = update or self.set_datetime_in_object(dtstart, attr["TZID"], "DTSTART", obj)
1.8 + update = self.set_datetime_in_object(dtstart, attr["TZID"], "DTSTART", obj) or update
1.9 else:
1.10 return False
1.11
1.12 @@ -505,7 +505,7 @@
1.13
1.14 if not isinstance(dtend, datetime):
1.15 dtend += timedelta(1)
1.16 - update = update or self.set_datetime_in_object(dtend, attr["TZID"], "DTEND", obj)
1.17 + update = self.set_datetime_in_object(dtend, attr["TZID"], "DTEND", obj) or update
1.18 else:
1.19 return False
1.20
1.21 @@ -516,7 +516,7 @@
1.22 if isinstance(dtstart, datetime):
1.23 return False
1.24 dtend = dtstart + timedelta(1)
1.25 - update = update or self.set_datetime_in_object(dtend, attr["TZID"], "DTEND", obj)
1.26 + update = self.set_datetime_in_object(dtend, attr["TZID"], "DTEND", obj) or update
1.27
1.28 if dtstart >= dtend:
1.29 return False