From 33884deb6c5de6273b79945ed1913b7a095b093c Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 20 Jun 2014 21:29:43 +0200 Subject: [PATCH] Send single Pushbullet when no device is selected. fix #3471 --- couchpotato/core/notifications/pushbullet.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/couchpotato/core/notifications/pushbullet.py b/couchpotato/core/notifications/pushbullet.py index 77738c32..361294e4 100644 --- a/couchpotato/core/notifications/pushbullet.py +++ b/couchpotato/core/notifications/pushbullet.py @@ -25,11 +25,7 @@ class Pushbullet(Notification): # Get all the device IDs linked to this user if not len(devices): - response = self.request('devices') - if not response: - return False - - devices += [device.get('id') for device in response['devices']] + devices = [None] successful = 0 for device in devices: