diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 8ebdb15b..70ebd5ba 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -228,7 +228,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID, plex_update(inputCategory) if result[0] != 0: - if core.TORRENT_RESUME_ON_FAILURE: + if not core.TORRENT_RESUME_ON_FAILURE: logger.error("A problem was reported in the autoProcess* script. torrent won't resume seeding (settings)") elif clientAgent != 'manual': logger.error(