aboutsummaryrefslogtreecommitdiff
path: root/modules/rest_api.py
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/rest_api.py
parentAllow API endpoints to not request authentication (diff)
signature
Remove prints
Diffstat (limited to 'modules/rest_api.py')
-rw-r--r--modules/rest_api.py1
1 files changed, 0 insertions, 1 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)):