ota config
This commit is contained in:
parent
7efc3e2640
commit
2d40a361db
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ def get_config(is_local):
|
|||
config['verbose'] = config.get('verbose', False)
|
||||
config['local_address'] = to_str(config.get('local_address', '127.0.0.1'))
|
||||
config['local_port'] = config.get('local_port', 1080)
|
||||
config['one_time_auth'] = config.get('one_time_auth', False)
|
||||
if is_local:
|
||||
if config.get('server', None) is None:
|
||||
logging.error('server addr not specified')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue