Skip to content

Commit

Permalink
fixed manual Torrent run result parsing. Fixes #1520
Browse files Browse the repository at this point in the history
  • Loading branch information
clinton-hall committed Jan 13, 2019
1 parent df280c4 commit 3a2ed4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TorrentToMedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a2ed4b

Please sign in to comment.