mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Don't access self.hs when using --local-only in GUI
This commit is contained in:
parent
f4780813d6
commit
4cfffbf847
@ -168,8 +168,8 @@ class OnionShareGui(QtGui.QWidget):
|
||||
self.starting_server_step2.emit()
|
||||
|
||||
# wait for hs
|
||||
if not self.app.hs.supports_ephemeral:
|
||||
if not self.app.local_only:
|
||||
if not self.app.local_only:
|
||||
if not self.app.hs.supports_ephemeral:
|
||||
self.status_bar.showMessage(strings._('gui_starting_server3', True))
|
||||
self.app.hs.wait_for_hs(self.app.onion_host)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user