fix manager
This commit is contained in:
parent
956199efcd
commit
e08845d6f3
2 changed files with 2 additions and 2 deletions
|
@ -149,4 +149,4 @@ class Manager(object):
|
||||||
|
|
||||||
|
|
||||||
def run(config):
|
def run(config):
|
||||||
Manager(config).run()
|
Manager(config).run()
|
||||||
|
|
|
@ -49,7 +49,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
config['port_password'][str(server_port)] = config['password']
|
config['port_password'][str(server_port)] = config['password']
|
||||||
|
|
||||||
if config['manager_port']:
|
if config.get('manager_port', 0):
|
||||||
logging.info('entering manager mode')
|
logging.info('entering manager mode')
|
||||||
manager.run(config)
|
manager.run(config)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue