remove auth_aes128, fix bugs
This commit is contained in:
parent
036df8aac6
commit
7deba0b995
3 changed files with 6 additions and 265 deletions
|
@ -110,7 +110,10 @@ class TransferBase(object):
|
|||
merge_config_keys = ['password'] + read_config_keys
|
||||
for name in cfg.keys():
|
||||
if hasattr(cfg[name], 'encode'):
|
||||
cfg[name] = cfg[name].encode('utf-8')
|
||||
try:
|
||||
cfg[name] = cfg[name].encode('utf-8')
|
||||
except Exception as e:
|
||||
logging.warning('encode cfg key "%s" fail, val "%s"' % (name, cfg[name]))
|
||||
|
||||
if port not in cur_servers:
|
||||
cur_servers[port] = passwd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue