mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
Refactor ServerStatus to use mode settings
This commit is contained in:
parent
52d5a5193b
commit
ed1c3e1bc8
3 changed files with 43 additions and 36 deletions
|
@ -111,12 +111,7 @@ class WebThread(QtCore.QThread):
|
|||
|
||||
def run(self):
|
||||
self.mode.common.log("WebThread", "run")
|
||||
self.mode.web.start(
|
||||
self.mode.app.port,
|
||||
self.mode.app.stay_open,
|
||||
self.mode.common.settings.get("public_mode"),
|
||||
self.mode.web.password,
|
||||
)
|
||||
self.mode.web.start(self.mode.app.port)
|
||||
self.success.emit()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue