fixed Tails bug where if you stopped server in GUI, you could not start a new server again

This commit is contained in:
Micah Lee 2014-08-30 01:42:17 +00:00
parent cf52c2dcd0
commit c49cc75a55
3 changed files with 28 additions and 7 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:
self.app.choose_port()
print strings._("connecting_ctrlport").format(self.app.port)
self.app.start_hidden_service(gui=True)
except onionshare.NoTor as e: