Fix crash of remote_path exception.

This commit is contained in:
Clinton Hall 2019-04-18 08:40:11 +12:00 committed by GitHub
parent 472dd8c2c7
commit 52cae37609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -782,7 +782,7 @@ def process(input_directory, input_name=None, status=0, client_agent='manual', d
)
except Exception:
logger.error('Remote Path {0} is not valid for {1}:{2} Please set this to either 0 to disable or 1 to enable!'.format(
core.get('remote_path'), section_name, input_category))
cfg.get('remote_path'), section_name, input_category))
input_name, input_directory = convert_to_ascii(input_name, input_directory)