MCPcopy Index your code
hub / github.com/pyload/pyload / status

Function status

module/web/json_app.py:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29@route("/json/status", method="POST")
30@login_required('LIST')
31def status():
32 try:
33 status = toDict(PYLOAD.statusServer())
34 status['captcha'] = PYLOAD.isCaptchaWaiting()
35 return status
36 except:
37 return HTTPError()
38
39
40@route("/json/links")

Callers

nothing calls this directly

Calls 4

toDictFunction · 0.90
HTTPErrorClass · 0.90
statusServerMethod · 0.45
isCaptchaWaitingMethod · 0.45

Tested by

no test coverage detected