Set default method as bytes.
Default method as string may cause false error report.
This commit is contained in:
parent
b6efc0efd9
commit
8b2deb01d8
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ def get_config(is_local):
|
|||
sys.exit(2)
|
||||
|
||||
config['password'] = config.get('password', '')
|
||||
config['method'] = config.get('method', 'aes-256-cfb')
|
||||
config['method'] = config.get('method', b'aes-256-cfb')
|
||||
config['port_password'] = config.get('port_password', None)
|
||||
config['timeout'] = int(config.get('timeout', 300))
|
||||
config['fast_open'] = config.get('fast_open', False)
|
||||
|
|
Loading…
Add table
Reference in a new issue