From 951b7b84250d6f0dfae273c8a1d092663addddf4 Mon Sep 17 00:00:00 2001 From: mano3m Date: Sun, 24 Nov 2013 19:58:43 +0100 Subject: [PATCH] Update Synology and Pneumatic As per black hole improvement --- couchpotato/core/downloaders/pneumatic/main.py | 4 ++-- couchpotato/core/downloaders/synology/main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/downloaders/pneumatic/main.py b/couchpotato/core/downloaders/pneumatic/main.py index 0c2c46d1..863cdb07 100644 --- a/couchpotato/core/downloaders/pneumatic/main.py +++ b/couchpotato/core/downloaders/pneumatic/main.py @@ -41,11 +41,11 @@ class Pneumatic(Downloader): strm_file.write(strmContent) strm_file.close() - return True + return self.downloadReturnId('') else: log.info('File %s already exists.', fullPath) - return True + return self.downloadReturnId('') except: log.error('Failed to download .strm: %s', traceback.format_exc()) diff --git a/couchpotato/core/downloaders/synology/main.py b/couchpotato/core/downloaders/synology/main.py index 79b8e87a..5d192fcf 100644 --- a/couchpotato/core/downloaders/synology/main.py +++ b/couchpotato/core/downloaders/synology/main.py @@ -42,7 +42,7 @@ class Synology(Downloader): except: log.error('Exception while adding torrent: %s', traceback.format_exc()) finally: - return response + return self.downloadReturnId('') if response else False def getEnabledProtocol(self): if self.conf('use_for') == 'both':