First, find the following piece of code:
and change that to a CANCEL method:icspart = MIMEBase('text', 'calendar', **{'method' : 'REQUEST', 'name' : 'meeting.ics'})
Next, in the original .ics file, change any line with METHOD: to read METHOD:CANCEL and any line with STATUS: to read STATUS:CANCELLED.icspart = MIMEBase('text', 'calendar', **{'method' : 'CANCEL', 'name' : 'meeting.ics'})
No comments:
Post a Comment