mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-15 09:42:54 -07:00
fix no api bypass to apply to Sonarr only.
This commit is contained in:
parent
cd2e466b30
commit
bd4a448d26
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class autoProcessTV(object):
|
||||||
[fork_params.pop(k) for k, v in fork_params.items() if v is None]
|
[fork_params.pop(k) for k, v in fork_params.items() if v is None]
|
||||||
|
|
||||||
if status == 0:
|
if status == 0:
|
||||||
if not apikey:
|
if section == "NzbDrone" and not apikey:
|
||||||
logger.info('No Sonarr apikey entered. Processing completed.')
|
logger.info('No Sonarr apikey entered. Processing completed.')
|
||||||
return [0, "{0}: Successfully post-processed {1}".format(section, inputName)]
|
return [0, "{0}: Successfully post-processed {1}".format(section, inputName)]
|
||||||
logger.postprocess("SUCCESS: The download succeeded, sending a post-process request", section)
|
logger.postprocess("SUCCESS: The download succeeded, sending a post-process request", section)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue