Remove prints

This commit is contained in:
jesopo 2018-10-05 09:45:49 +01:00
parent e5f475cdeb
commit 187220c25e
2 changed files with 0 additions and 2 deletions

View file

@ -25,7 +25,6 @@ class Handler(http.server.BaseHTTPRequestHandler):
hook = hooks[0] hook = hooks[0]
authenticated = hook.get_kwarg("authenticated", True) authenticated = hook.get_kwarg("authenticated", True)
key = get_params.get("key", None) key = get_params.get("key", None)
print(key)
if authenticated and ( if authenticated and (
not key or not key or
not _bot.get_setting("api-key-%s" % key[0], False)): not _bot.get_setting("api-key-%s" % key[0], False)):

View file

@ -67,7 +67,6 @@ class Module(ModuleManager.BaseModule):
} }
@utils.hook("api.channels") @utils.hook("api.channels")
def channels_api(self, event): def channels_api(self, event):
print(event["path"])
if event["path"]: if event["path"]:
server_id = event["path"][0] server_id = event["path"][0]
if not server_id.isdigit(): if not server_id.isdigit():