From 0610214ab5f3bdc9bc9ac8aaa5156357e896f03d Mon Sep 17 00:00:00 2001 From: Frisk Date: Sun, 11 Nov 2018 19:30:45 +0100 Subject: [PATCH] More debug messages --- rcgcdw.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rcgcdw.py b/rcgcdw.py index 0800d2e..983a261 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -136,6 +136,7 @@ def webhook_formatter(action, STATIC, **params): if re.match(r"\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b", params["user"]) is not None: author_url = "https://{wiki}.gamepedia.com/Special:Contributions/{user}".format(wiki=settings["wiki"], user=params["user"]) + logging.debug("current user: {} with cache of IPs: {}".format(params["user"], recent_changes.map_ips.keys())) if params["user"] not in list(recent_changes.map_ips.keys()): contibs = safe_read(recent_changes.safe_request( "https://{wiki}.gamepedia.com/api.php?action=query&format=json&list=usercontribs&uclimit=max&ucuser={user}&ucprop=".format(