From 0474c899d1ab1f136d598efc4b0b25005d7a1234 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 1 Jul 2011 14:01:16 +0200 Subject: tracking: Content-Type changed to application/xml. --- modules/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tracking.py b/modules/tracking.py index 031748b..6724867 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -88,7 +88,7 @@ class Module: u = urllib2.urlopen(url) except: return - if u.headers['content-type'].startswith('text/xml'): + if u.headers['content-type'].startswith('application/xml'): xml = etree.parse(u) else: xml = None -- cgit v1.2.3