Merge pull request #769 from micahflee/fix_app_port

Choose a port *before* starting the web service
This commit is contained in:
Miguel Jacq 2018-09-20 11:28:45 +10:00 committed by GitHub
commit a9586049cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'))