From 3b37bd5b481bacae089a2ff2e53a5fa10e24d884 Mon Sep 17 00:00:00 2001 From: Frisk Date: Wed, 17 Apr 2019 23:50:54 +0200 Subject: [PATCH] Fixed formatting of the comment --- rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcgcdw.py b/rcgcdw.py index 418a287..0032db7 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -160,7 +160,7 @@ def link_formatter(link): def compact_formatter(action, change, parsed_comment, categories): author_url = link_formatter("https://{wiki}.gamepedia.com/User:{user}".format(wiki=settings["wiki"], user=change["user"])) author = change["user"] - parsed_comment = "" if parsed_comment is None else " (*"+parsed_comment+"*)" + parsed_comment = "" if parsed_comment is None else " *("+parsed_comment+")*" if action in ["edit", "new"]: edit_link = link_formatter("https://{wiki}.gamepedia.com/index.php?title={article}&curid={pageid}&diff={diff}&oldid={oldrev}".format( wiki=settings["wiki"], pageid=change["pageid"], diff=change["revid"], oldrev=change["old_revid"],