fix bug caused by refactoring that made Tails launch infinite onionshare processes (oops)

This commit is contained in:
Micah Lee 2014-08-30 01:10:58 +00:00
parent 53a965a143
commit cf52c2dcd0
2 changed files with 22 additions and 12 deletions

View file

@ -83,6 +83,7 @@ class OnionShareGui(QtGui.QWidget):
# start the hidden service
self.status_bar.showMessage(strings._('gui_starting_server').format(self.app.port))
try:
print strings._("connecting_ctrlport").format(self.app.port)
self.app.start_hidden_service(gui=True)
except onionshare.NoTor as e:
alert(e.args[0], QtGui.QMessageBox.Warning)