summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-07-01 14:01:16 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-07-01 14:01:42 +0200
commit0474c899d1ab1f136d598efc4b0b25005d7a1234 (patch)
treeadf88c2e868f3dec89b218a1f6e61ecbf2bf1bc1
parent50605195b06fc6e533d00b3030b0da74460b3a18 (diff)
tracking: Content-Type changed to application/xml.
-rw-r--r--modules/tracking.py2
1 files changed, 1 insertions, 1 deletions
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