From: James French Date: Mon, 4 Mar 2013 11:56:12 +0000 (+0800) Subject: Corrected incorrect mime type X-Git-Tag: cgi-1.0 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=adeaa06cf88e84f42f61bf12accd47150d689d0c;p=frenchie%2Ficalparse.git Corrected incorrect mime type --- diff --git a/fbcal.py b/fbcal.py index d18a515..45e03d9 100755 --- a/fbcal.py +++ b/fbcal.py @@ -69,5 +69,5 @@ if __name__ == '__main__': cal = vobject.readOne(unicode(content, encoding)) cal = icalparse.applyRules(cal, icalparse.generateRules(ruleConfig), False) - print('Content-Type: text/html; charset=%s\n'%encoding) + print('Content-Type: text/calendar; charset=%s\n'%encoding) icalparse.writeOutput(cal)