Skip to content

Commit e08845d

Browse files
author
clowwindy
committed
fix manager
1 parent 956199e commit e08845d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shadowsocks/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ def run(self):
149149

150150

151151
def run(config):
152-
Manager(config).run()
152+
Manager(config).run()

shadowsocks/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def main():
4949
else:
5050
config['port_password'][str(server_port)] = config['password']
5151

52-
if config['manager_port']:
52+
if config.get('manager_port', 0):
5353
logging.info('entering manager mode')
5454
manager.run(config)
5555
return

0 commit comments

Comments
 (0)