mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Create Separate Py2.7/3.7 branch
This commit is contained in:
parent
b802aca7e1
commit
dbd6edd2d0
1 changed files with 4 additions and 1 deletions
|
@ -260,6 +260,9 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
|
||||||
)
|
)
|
||||||
elif section == 'Radarr':
|
elif section == 'Radarr':
|
||||||
try:
|
try:
|
||||||
|
if isinstance(result, list):
|
||||||
|
scan_id = int(result[0]['id'])
|
||||||
|
else:
|
||||||
scan_id = int(result['id'])
|
scan_id = int(result['id'])
|
||||||
logger.debug('Scan started with id: {0}'.format(scan_id), section)
|
logger.debug('Scan started with id: {0}'.format(scan_id), section)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue