mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Standardize string formatting to use .format instead of concat
This commit is contained in:
parent
a3a59af3f8
commit
2ad9f2e35f
18 changed files with 259 additions and 239 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue