mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-16 08:44:14 -05:00
Merge pull request #769 from micahflee/fix_app_port
Choose a port *before* starting the web service
This commit is contained in:
commit
8296f373d4
1 changed files with 1 additions and 0 deletions
|
|
@ -73,4 +73,5 @@ class WebThread(QtCore.QThread):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.mode.common.log('WebThread', 'run')
|
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'))
|
self.mode.web.start(self.mode.app.port, self.mode.app.stay_open, self.mode.common.settings.get('slug'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue