Browse Source

Rev4551, Keep uiserver running if fileserver bind failed

pull/2686/head
Tamas Kocsis 1 year ago
parent
commit
38a3ea6373
  1. 2
      src/Config.py
  2. 4
      src/File/FileServer.py

2
src/Config.py

@ -14,7 +14,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.7.2"
self.rev = 4550
self.rev = 4551
self.argv = argv
self.action = None
self.test_parser = None

4
src/File/FileServer.py

@ -373,10 +373,6 @@ class FileServer(ConnectionServer):
self.stream_server.start()
except Exception as err:
self.log.error("Error listening on: %s:%s: %s" % (self.ip, self.port, err))
if "ui_server" in dir(sys.modules["main"]):
self.log.debug("Stopping UI Server.")
sys.modules["main"].ui_server.stop()
return False
self.sites = self.site_manager.list()
if config.debug:

Loading…
Cancel
Save