Commit f4b80011 authored by Chris Lamb's avatar Chris Lamb 💬

email2irc: Actually avoid double spaces in output (eg. "Failed", etc.)

This was meant to be fixed in 20a4a40a but I
somehow committed it with a trailing "$" suffix.
parent b1c88e3c
......@@ -101,7 +101,7 @@ ircmsg = re.sub(r'\?page=changes$', r'', ircmsg)
ircmsg = re.sub(r'/(console|changes)$', r'', ircmsg)
ircmsg = re.sub(r'/display/redirect.*$', r'', ircmsg)
ircmsg = re.sub(r'/$', r'', ircmsg)
ircmsg = re.sub(r'\s+$', r' ', ircmsg)
ircmsg = re.sub(r'\s+', r' ', ircmsg)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment