Remove prints
This commit is contained in:
parent
e5f475cdeb
commit
187220c25e
2 changed files with 0 additions and 2 deletions
|
@ -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)):
|
||||||
|
|
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue