diff options
-rw-r--r-- | modules/tracking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index b2a8900..81c4fd1 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -112,7 +112,7 @@ class Module: if not len(eventset): continue last = eventset[0] - desc = last.find('{%s}Description' % ns).text.replace('<', '<') + desc = last.find('{%s}Description' % ns).text.replace('<', '<').replace('<br/>', ' ') desc = re.sub(r'<[^>]*?>', '', desc).encode('utf8') isodate = last.find('{%s}OccuredAtIsoDateTime' % ns).text[:-10] isodate = datetime.datetime.strptime(isodate, '%Y-%m-%dT%H:%M:%S') |