Refactor ServerStatus to use mode settings

This commit is contained in:
Micah Lee 2019-11-02 17:39:27 -07:00
parent 52d5a5193b
commit ed1c3e1bc8
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
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()