Skip to content

Commit

Permalink
Make captcha response handling more resilient.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Jan 10, 2024
1 parent 9d586d7 commit d42738d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/webui/captcha.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def response_done(_: RawHeaderListType) -> None:
e_str,
)
return
if results["success"]:
if results.get("success", False):
self.continue_test(self.issue_human())
else:
e_str = (
Expand Down

0 comments on commit d42738d

Please sign in to comment.