Get information about captcha task :param tid: task id :return: string
(self, tid)
| 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): |
no test coverage detected