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

Method getCaptchaTaskStatus

module/Api.py:815–823  ·  view source on GitHub ↗

Get information about captcha task :param tid: task id :return: string

(self, tid)

Source from the content-addressed store, hash-verified

813
814 @permission(PERMS.STATUS)
815 def getCaptchaTaskStatus(self, tid):
816 """Get information about captcha task
817
818 :param tid: task id
819 :return: string
820 """
821 self.core.lastClientConnected = time()
822 t = self.core.captchaManager.getTaskByID(tid)
823 return t.getStatus() if t else ""
824
825 @permission(PERMS.STATUS)
826 def setCaptchaResult(self, tid, result):

Callers 1

checkCaptchaMethod · 0.45

Calls 2

getTaskByIDMethod · 0.80
getStatusMethod · 0.80

Tested by

no test coverage detected