Skip to content

Commit

Permalink
Fix port open checking
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Aug 15, 2016
1 parent 954c6bc commit 4975ef8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/File/FileServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ def checkSites(self, check_files=True, force_port_check=False):
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()
Expand Down

0 comments on commit 4975ef8

Please sign in to comment.