diff options
| author | 2018-10-05 09:45:49 +0100 | |
|---|---|---|
| committer | 2018-10-05 09:45:49 +0100 | |
| commit | 187220c25e174fad87c867a4fd7913fe0c8f7397 (patch) | |
| tree | bc30696b877fc688873dbcf43c314200fd3177ca | |
| parent | Allow API endpoints to not request authentication (diff) | |
| signature | ||
Remove prints
| -rw-r--r-- | modules/rest_api.py | 1 | ||||
| -rw-r--r-- | modules/stats.py | 1 |
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(): |
