mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-31 12:00:04 -07:00
hotfix/processresult bug
This commit is contained in:
parent
f9f3fafb1b
commit
e89bbcf9be
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ def main(args):
|
|||
|
||||
results = process_torrent(dir_name, input_name, subsection, input_hash or None, input_id or None,
|
||||
client_agent)
|
||||
if results[0] != 0:
|
||||
if results.status_code != 0:
|
||||
logger.error('A problem was reported when trying to perform a manual run for {0}:{1}.'.format
|
||||
(section, subsection))
|
||||
result = results
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue