From a750e2baad6f053205991f0af9d8507342afee26 Mon Sep 17 00:00:00 2001 From: evilhero Date: Tue, 2 May 2017 09:22:20 -0400 Subject: [PATCH] FIX: Fix for the torrent auto-snatch script not intializing properly --- mylar/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/helpers.py b/mylar/helpers.py index fe5b039c..2ef072c1 100755 --- a/mylar/helpers.py +++ b/mylar/helpers.py @@ -2618,7 +2618,7 @@ def torrentinfo(issueid=None, torrent_hash=None, download=False): with open(mylar.AUTO_SNATCH_SCRIPT, 'r') as f: first_line = f.readline() - if mylar.SNATCH_SCRIPT.endswith('.sh'): + if mylar.AUTO_SNATCH_SCRIPT.endswith('.sh'): shell_cmd = re.sub('#!', '', first_line) if shell_cmd == '' or shell_cmd is None: shell_cmd = '/bin/bash'