fix failure condition from SABnzbd. Fixes #1131

This commit is contained in:
clinton-hall 2016-11-15 18:40:32 +10:30
commit c9c5fd5045
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class autoProcessMusic(object):
remote_path = int(cfg.get("remote_path", 0))
protocol = "https://" if ssl else "http://"
status = int(status)
if status == 1 and core.NOEXTRACTFAILED:
if status > 0 and core.NOEXTRACTFAILED:
extract = 0
else:
extract = int(cfg.get("extract", 0))