mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
fixed manual Torrent run result parsing. Fixes #1520
This commit is contained in:
parent
df280c4bc3
commit
3a2ed4bc57
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