Choose a port *before* starting the web service

This commit is contained in:
Micah Lee 2018-09-19 18:14:42 -07:00
parent 829ba7f6e1
commit b8d24515e8

View File

@ -73,4 +73,5 @@ class WebThread(QtCore.QThread):
def run(self):
self.mode.common.log('WebThread', 'run')
self.mode.app.choose_port()
self.mode.web.start(self.mode.app.port, self.mode.app.stay_open, self.mode.common.settings.get('slug'))