OreosLab / checkinpanel

Inconsistent return statements PYL-R1710
Style
Minor
2 years ago2 years old
Either all return statements in a function should return an expression, or none of them should.
222        return json.loads(r.text)
223
224    @staticmethod
225    def handle_captcha_solved_result(solved: dict) -> str:  # type: ignore226        """Since CAPTCHA sometimes appears as a very simple binary arithmetic expression.
227        But since recognition sometimes doesn't show the result of the calculation directly,
228        that's what this function is for.