Browse Source

Send single Pushbullet when no device is selected. fix #3471

pull/3480/head
Ruud 11 years ago
parent
commit
33884deb6c
  1. 6
      couchpotato/core/notifications/pushbullet.py

6
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:

Loading…
Cancel
Save