fixed manual Torrent run result parsing. Fixes #1520

This commit is contained in:
clinton-hall 2019-01-13 19:41:04 +13:00
commit 3a2ed4bc57

View file

@ -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