Refactor ServerStatus to use mode settings

This commit is contained in:
Micah Lee 2019-11-02 17:39:27 -07:00
parent 1d8d33f6fd
commit 764e404ff2
3 changed files with 43 additions and 36 deletions

View file

@ -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()