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:
Garrett Robinson 2015-12-22 21:36:26 -05:00
parent 41a30dd4e4
commit a54443084c

View File

@ -147,7 +147,6 @@ class OnionShareGui(QtGui.QWidget):
self.status_bar.showMessage(strings._('gui_starting_server1', True))
self.app.choose_port()
try:
self.status_bar.showMessage(strings._('gui_starting_server1', True))
self.app.start_hidden_service(gui=True)
except onionshare.hs.NoTor as e:
alert(e.args[0], QtGui.QMessageBox.Warning)