Standardize string formatting to use .format instead of concat

This commit is contained in:
labrys 2016-06-06 05:45:42 -04:00 committed by Labrys
commit 2ad9f2e35f
18 changed files with 259 additions and 239 deletions

View file

@ -758,8 +758,8 @@ def main(args, section=None):
os.path.basename(dirName))
)
clientAgent = str(core.DOWNLOADINFO[0].get('client_agent', ''))
download_id = str(core.DOWNLOADINFO[0].get('input_id', ''))
clientAgent = text_type(core.DOWNLOADINFO[0].get('client_agent', ''))
download_id = text_type(core.DOWNLOADINFO[0].get('input_id', ''))
if clientAgent and clientAgent.lower() not in core.NZB_CLIENTS:
continue