Fix syntax errors

This commit is contained in:
Micah Lee 2019-10-20 17:59:12 -07:00
parent 58ad7907fd
commit 3085e4ee0f
4 changed files with 14 additions and 19 deletions

View file

@ -659,7 +659,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
event["path"] != "/favicon.ico"
and event["path"] != f"/{mode.web.shutdown_password}/shutdown"
):
self.status_bar.showMessage(f"{strings._("other_page_loaded")}: {event["path"]}")
self.status_bar.showMessage(
f"{strings._('other_page_loaded')}: {event['path']}"
)
if event["type"] == Web.REQUEST_INVALID_PASSWORD:
self.status_bar.showMessage(