fix multiple ports
This commit is contained in:
parent
f677c8152d
commit
c668ddbc1b
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def get_config(is_local):
|
||||||
if 'local_port' in config:
|
if 'local_port' in config:
|
||||||
config['local_port'] = int(config['local_port'])
|
config['local_port'] = int(config['local_port'])
|
||||||
|
|
||||||
if 'server_port' in config:
|
if 'server_port' in config and type(config['server_port']) != list:
|
||||||
config['server_port'] = int(config['server_port'])
|
config['server_port'] = int(config['server_port'])
|
||||||
|
|
||||||
logging.getLogger('').handlers = []
|
logging.getLogger('').handlers = []
|
||||||
|
|
Loading…
Reference in a new issue