fix manager

This commit is contained in:
clowwindy 2015-08-05 18:31:55 +08:00
parent 956199efcd
commit e08845d6f3
2 changed files with 2 additions and 2 deletions

View File

@ -149,4 +149,4 @@ class Manager(object):
def run(config):
Manager(config).run()
Manager(config).run()

View File

@ -49,7 +49,7 @@ def main():
else:
config['port_password'][str(server_port)] = config['password']
if config['manager_port']:
if config.get('manager_port', 0):
logging.info('entering manager mode')
manager.run(config)
return