imip-agent

Change of imiptools/handlers/common.py

620:6338539a488e
imiptools/handlers/common.py
     1.1 --- a/imiptools/handlers/common.py	Wed Jul 29 18:41:11 2015 +0200
     1.2 +++ b/imiptools/handlers/common.py	Thu Jul 30 18:28:43 2015 +0200
     1.3 @@ -56,10 +56,9 @@
     1.4              if self.messenger:
     1.5                  attendee_attr["SENT-BY"] = get_uri(self.messenger.sender)
     1.6  
     1.7 -            tzid = self.obj.get_tzid() or self.get_tzid()
     1.8              dtstart = self.obj.get_datetime("DTSTART")
     1.9              dtend = self.obj.get_datetime("DTEND")
    1.10 -            period = dtstart and dtend and Period(dtstart, dtend, tzid) or None
    1.11 +            period = dtstart and dtend and Period(dtstart, dtend, self.get_tzid()) or None
    1.12  
    1.13              rwrite(make_freebusy(freebusy, self.uid, organiser, organiser_attr, attendee, attendee_attr, period))
    1.14