Actually use the match, not just the object

This commit is contained in:
2010-08-31 22:43:21 +01:00
parent 45c2a65760
commit e78a3a80ca

View File

@@ -157,7 +157,7 @@ class OpTimerHandler(BaseHandler):
fid = re.search('topic=[\d]+', node.getAttribute('eventText'))
if fid:
forumlink = 'http://forum.pleaseignore.com/index.php?%s' % id
forumlink = 'http://forum.pleaseignore.com/index.php?topic=%s' % fid.group(0)
else:
forumlink = ''
#In case people forget to set a duration, we'll give a default of 1 hour