From a54146364c95ad65ce981a0940626f26c245fe33 Mon Sep 17 00:00:00 2001 From: Dreampuf Date: Sat, 29 Jun 2013 14:09:54 +0800 Subject: [PATCH] let the server.py using the custom config_pathc --- shadowsocks/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/server.py b/shadowsocks/server.py index f01c8d6..9ee6799 100755 --- a/shadowsocks/server.py +++ b/shadowsocks/server.py @@ -150,7 +150,7 @@ def main(): config_path = value if config_path: - with open('config.json', 'rb') as f: + with open(config_path, 'rb') as f: config = json.load(f) logging.info('loading config from %s' % config_path) SERVER = config['server']