Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Mar 29, 2024
1 parent 195805c commit 9eee9e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modules/api/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ def handle_reply(self, reply: QNetworkReply):
elif err == 302:
logger.error("Request to the API failed. Creds may be invalid")
self.api_sig.emit("creds_issue")
# unkown error
# unknown error
else:
logger.warning(
"Request to the API failed. Unkown error."
"Request to the API failed. Unknown error."
"\n API's reply content : {}".format(parsed_content)
)
self.api_sig.emit("unkown_error")
self.api_sig.emit("unknown_error")
# working cases
elif content != "":
# for token request, one signal is emitted passing a string whose
Expand Down
4 changes: 2 additions & 2 deletions modules/user_inform.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def request_slot(self, api_sig: str):
- 'creds_issue'
- 'proxy_issue'
- 'shares_issue'
- 'unkown_error'
- 'unknown_error'
- 'unkonw_reply'
- 'internet_issue'
- 'config_issue'
Expand All @@ -123,7 +123,7 @@ def request_slot(self, api_sig: str):
"and check your Internet connection. If this error keeps happening, "
"please report it in the bug tracker.",
),
"unkown_error": self.tr(
"unknown_error": self.tr(
"Request to Isogeo's API failed : unkown error found. Please,"
" report it in the bug tracker.",
),
Expand Down

0 comments on commit 9eee9e4

Please sign in to comment.