Fix format of default

This commit is contained in:
Clinton Hall 2020-09-18 16:57:02 +12:00 committed by GitHub
commit 97397379ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1016,8 +1016,8 @@ def main(args, section=None):
logger.info('Found download info for {0}, '
'setting variables now ...'.format
(os.path.basename(dir_name)))
client_agent = text_type(core.DOWNLOAD_INFO[0]['client_agent']) else 'manual'
download_id = text_type(core.DOWNLOAD_INFO[0]['input_id']) else ''
client_agent = text_type(core.DOWNLOAD_INFO[0]['client_agent']) or 'manual'
download_id = text_type(core.DOWNLOAD_INFO[0]['input_id']) or ''
else:
logger.info('Unable to locate download info for {0}, '
'continuing to try and process this release ...'.format