From 187220c25e174fad87c867a4fd7913fe0c8f7397 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 5 Oct 2018 09:45:49 +0100 Subject: [PATCH] Remove prints --- modules/rest_api.py | 1 - modules/stats.py | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/rest_api.py b/modules/rest_api.py index c97b5baf..5fe7cc3b 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -25,7 +25,6 @@ class Handler(http.server.BaseHTTPRequestHandler): hook = hooks[0] authenticated = hook.get_kwarg("authenticated", True) key = get_params.get("key", None) - print(key) if authenticated and ( not key or not _bot.get_setting("api-key-%s" % key[0], False)): diff --git a/modules/stats.py b/modules/stats.py index d2de816a..ea9e5a62 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -67,7 +67,6 @@ class Module(ModuleManager.BaseModule): } @utils.hook("api.channels") def channels_api(self, event): - print(event["path"]) if event["path"]: server_id = event["path"][0] if not server_id.isdigit():