mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-06 22:09:15 -04:00
Remove unnecessary status_bar.showMessage
status_bar.showMessage is already called with the same message at the beginning of start_server, so there is no reason to call it again in the try block.
This commit is contained in:
parent
41a30dd4e4
commit
a54443084c
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ class OnionShareGui(QtGui.QWidget):
|
||||||
self.status_bar.showMessage(strings._('gui_starting_server1', True))
|
self.status_bar.showMessage(strings._('gui_starting_server1', True))
|
||||||
self.app.choose_port()
|
self.app.choose_port()
|
||||||
try:
|
try:
|
||||||
self.status_bar.showMessage(strings._('gui_starting_server1', True))
|
|
||||||
self.app.start_hidden_service(gui=True)
|
self.app.start_hidden_service(gui=True)
|
||||||
except onionshare.hs.NoTor as e:
|
except onionshare.hs.NoTor as e:
|
||||||
alert(e.args[0], QtGui.QMessageBox.Warning)
|
alert(e.args[0], QtGui.QMessageBox.Warning)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue