Skip to content

Commit

Permalink
fix multiple ports
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Sep 20, 2014
1 parent f677c81 commit c668ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadowsocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def get_config(is_local):
if 'local_port' in config:
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'])

logging.getLogger('').handlers = []
Expand Down

0 comments on commit c668ddb

Please sign in to comment.