mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 11:56:06 -04:00
Fix syntax errors
This commit is contained in:
parent
58ad7907fd
commit
3085e4ee0f
4 changed files with 14 additions and 19 deletions
|
@ -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(
|
||||
|
|
|
@ -112,7 +112,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
|
|||
# Display the exception in an alert box
|
||||
Alert(
|
||||
self.common,
|
||||
f"{msg}\n\n{strings._("gui_tor_connection_error_settings")}",
|
||||
f"{msg}\n\n{strings._('gui_tor_connection_error_settings')}",
|
||||
QtWidgets.QMessageBox.Warning,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue