mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix flake8-commas C812 missing trailing comma
This commit is contained in:
parent
0bcbabd681
commit
14b2aa6bf4
13 changed files with 39 additions and 39 deletions
|
@ -42,7 +42,7 @@ def auto_fork(section, input_category):
|
|||
logger.info('Attempting to verify {category} fork'.format
|
||||
(category=input_category))
|
||||
url = '{protocol}{host}:{port}{root}/api/rootfolder'.format(
|
||||
protocol=protocol, host=host, port=port, root=web_root
|
||||
protocol=protocol, host=host, port=port, root=web_root,
|
||||
)
|
||||
headers = {'X-Api-Key': apikey}
|
||||
try:
|
||||
|
@ -66,11 +66,11 @@ def auto_fork(section, input_category):
|
|||
|
||||
if apikey:
|
||||
url = '{protocol}{host}:{port}{root}/api/{apikey}/?cmd=help&subject=postprocess'.format(
|
||||
protocol=protocol, host=host, port=port, root=web_root, apikey=apikey
|
||||
protocol=protocol, host=host, port=port, root=web_root, apikey=apikey,
|
||||
)
|
||||
else:
|
||||
url = '{protocol}{host}:{port}{root}/home/postprocess/'.format(
|
||||
protocol=protocol, host=host, port=port, root=web_root
|
||||
protocol=protocol, host=host, port=port, root=web_root,
|
||||
)
|
||||
|
||||
# attempting to auto-detect fork
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue