From e32ab0778ccad5f4d0eee8cbe92788ebdcd01558 Mon Sep 17 00:00:00 2001 From: Frisk Date: Thu, 2 May 2019 16:43:48 +0200 Subject: [PATCH] Fixed #75 --- rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcgcdw.py b/rcgcdw.py index f15bef5..363401c 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -442,7 +442,7 @@ def embed_formatter(action, change, parsed_comment, categories): if action != "suppressed": if "anon" in change: author_url = "https://{wiki}.gamepedia.com/Special:Contributions/{user}".format(wiki=settings["wiki"], - user=change["user"]) + user=change["user"].replace(" ", "_")) # Replace here needed in case of #75 logging.debug("current user: {} with cache of IPs: {}".format(change["user"], recent_changes.map_ips.keys())) if change["user"] not in list(recent_changes.map_ips.keys()): contibs = safe_read(recent_changes.safe_request(