Skip to content

Commit

Permalink
fix "no internet" case handling
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Oct 3, 2019
1 parent fff3f2a commit fef3c82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/api/request.py
Expand Up @@ -282,10 +282,10 @@ def handle_reply(self, reply: QNetworkReply):
else:
logger.error(
"Request to the API failed. Empty reply for the third time. "
"Weither no catalog is shared with the plugin, or there is a "
"problem (2 requests sent together)"
"Weither no catalog is shared with the plugin, or there is no "
"Internet connection."
)
self.api_sig.emit("shares_issue")
self.api_sig.emit("internet_issue")

else:
logger.warning(
Expand Down

0 comments on commit fef3c82

Please sign in to comment.