Fix port open checking

This commit is contained in:
shortcutme 2016-08-15 13:53:20 +02:00
parent 954c6bcbc3
commit 4975ef82d7
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,8 @@ class FileServer(ConnectionServer):
for address, site in self.sites.items():
gevent.spawn(self.checkSite, site, check_files)
if force_port_check:
self.port_opened = None
self.openport()
if self.port_opened is False:
self.tor_manager.startOnions()