(self, msg="")
| 161 | return result |
| 162 | |
| 163 | def invalid(self, msg=""): |
| 164 | if not self.task: |
| 165 | return |
| 166 | |
| 167 | self.log_warning(_("Invalid captcha"), msg, self.task.result) |
| 168 | self.task.invalid() |
| 169 | self.task = None |
| 170 | |
| 171 | def correct(self): |
| 172 | if not self.task: |
no test coverage detected