From e89bbcf9bec4b1d4fe1659d63c1b6ef14e2065d5 Mon Sep 17 00:00:00 2001 From: TheHolyRoger <39387497+TheHolyRoger@users.noreply.github.com> Date: Fri, 11 Jan 2019 14:38:20 +0000 Subject: [PATCH] hotfix/processresult bug --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 0e14e60d..4971c13d 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -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