Try and make the best of a bad situation, don't clump the words together from CCP's fail

This commit is contained in:
2011-09-07 11:30:22 +01:00
parent 86c55f19a8
commit ed6b69f7b2

View File

@@ -186,7 +186,7 @@ class OpTimerHandler(BaseHandler):
'eventTitle': node.getAttribute('eventTitle'), 'eventTitle': node.getAttribute('eventTitle'),
'duration': duration, 'duration': duration,
'isImportant': int(node.getAttribute('importance')), 'isImportant': int(node.getAttribute('importance')),
'eventText': ''.join(BeautifulSoup(node.getAttribute('eventText')).findAll(text=True)), 'eventText': ' '.join(BeautifulSoup(node.getAttribute('eventText')).findAll(text=True)),
'endsIn':endsIn, 'endsIn':endsIn,
'forumLink': forumlink} 'forumLink': forumlink}
events.append(event) events.append(event)