aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-05 09:45:49 +0100
committerGravatar jesopo2018-10-05 09:45:49 +0100
commit187220c25e174fad87c867a4fd7913fe0c8f7397 (patch)
treebc30696b877fc688873dbcf43c314200fd3177ca /modules
parentAllow API endpoints to not request authentication (diff)
signature
Remove prints
Diffstat (limited to 'modules')
-rw-r--r--modules/rest_api.py1
-rw-r--r--modules/stats.py1
2 files changed, 0 insertions, 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():