From abb7c78dac165a4b4c2eb9ae4a5183ec63cd91f6 Mon Sep 17 00:00:00 2001 From: Mark Rawson Date: Thu, 19 Jun 2014 00:11:20 +0100 Subject: [PATCH] Pushover - remove hard-coded API key, add API register link to UI. --- gui/slick/interfaces/default/config_notifications.tmpl | 2 +- sickbeard/notifiers/pushover.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/slick/interfaces/default/config_notifications.tmpl b/gui/slick/interfaces/default/config_notifications.tmpl index 891caf60..e5d52633 100644 --- a/gui/slick/interfaces/default/config_notifications.tmpl +++ b/gui/slick/interfaces/default/config_notifications.tmpl @@ -752,7 +752,7 @@
Click below to test.
diff --git a/sickbeard/notifiers/pushover.py b/sickbeard/notifiers/pushover.py index f2302975..3c51ada7 100644 --- a/sickbeard/notifiers/pushover.py +++ b/sickbeard/notifiers/pushover.py @@ -28,12 +28,11 @@ from sickbeard.common import notifyStrings, NOTIFY_SNATCH, NOTIFY_DOWNLOAD, NOTI from sickbeard.exceptions import ex API_URL = "https://api.pushover.net/1/messages.json" -API_KEY = "awKfdt263PLaEWV9RXuSn4c46qoAyA" class PushoverNotifier: def test_notify(self, userKey=None, apiKey=None): - return self._notifyPushover("This is a test notification from SickRage", 'Test', userKey, force=True) + return self._notifyPushover("This is a test notification from SickRage", 'Test', userKey, apiKey, force=True) def _sendPushover(self, msg, title, userKey=None, apiKey=None): """