diff --git a/desktop/onionshare/moat_dialog.py b/desktop/onionshare/moat_dialog.py index 43354d32..428b5c91 100644 --- a/desktop/onionshare/moat_dialog.py +++ b/desktop/onionshare/moat_dialog.py @@ -289,7 +289,7 @@ class MoatThread(QtCore.QThread): self.bridgedb_error.emit() return if moat_res["data"][0]["type"] != "moat-challenge": - self.common.log("MoatThread", "run", f"type != moat-challange") + self.common.log("MoatThread", "run", f"type != moat-challenge") self.bridgedb_error.emit() return @@ -351,8 +351,8 @@ class MoatThread(QtCore.QThread): self.captcha_error.emit(errors) return - if moat_res["data"][0]["type"] != "moat-challenge": - self.common.log("MoatThread", "run", f"type != moat-challenge") + if moat_res["data"][0]["type"] != "moat-bridges": + self.common.log("MoatThread", "run", f"type != moat-bridges") self.bridgedb_error.emit() return