From 55483cf7365f5d74649b8572b009bfe7f4354017 Mon Sep 17 00:00:00 2001 From: mano3m Date: Fri, 27 Dec 2013 19:09:39 +0100 Subject: [PATCH] Consider try_next as failed --- couchpotato/core/plugins/release/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/release/main.py b/couchpotato/core/plugins/release/main.py index aec691e5..fccf2412 100644 --- a/couchpotato/core/plugins/release/main.py +++ b/couchpotato/core/plugins/release/main.py @@ -241,13 +241,13 @@ class Release(Plugin): 'files': {} }), manual = True) - if success: + if success == True: db.expunge_all() rel = db.query(Relea).filter_by(id = id).first() # Get release again @RuudBurger why do we need to get it again?? fireEvent('notify.frontend', type = 'release.manual_download', data = True, message = 'Successfully snatched "%s"' % item['name']) return { - 'success': success + 'success': success == True } def download(self, data, media, manual = False):