diff --git a/sickbeard/notifiers/pushover.py b/sickbeard/notifiers/pushover.py index a0914e7dd4b392738c51899a0f3d6b1c0952d70a..6c3e22a4ed2933c8290506b61d857b48a1ab9711 100644 --- a/sickbeard/notifiers/pushover.py +++ b/sickbeard/notifiers/pushover.py @@ -25,7 +25,7 @@ import time import sickbeard from sickbeard import logger -from sickbeard.common import notifyStrings, NOTIFY_SNATCH, NOTIFY_DOWNLOAD, NOTIFY_SUBTITLE_DOWNLOAD, NOTIFY_GIT_UPDATE, NOTIFY_GIT_UPDATE_TEXT +from sickbeard.common import notifyStrings, NOTIFY_SNATCH, NOTIFY_DOWNLOAD, NOTIFY_SUBTITLE_DOWNLOAD, NOTIFY_GIT_UPDATE, NOTIFY_GIT_UPDATE_TEXT, NOTIFY_LOGIN_TEXT, NOTIFY_LOGIN from sickrage.helper.exceptions import ex API_URL = "https://api.pushover.net/1/messages.json" @@ -153,8 +153,8 @@ class PushoverNotifier(object): def notify_login(self, ipaddress=""): if sickbeard.USE_PUSHOVER: - update_text = common.notifyStrings[common.NOTIFY_LOGIN_TEXT] - title = common.notifyStrings[common.NOTIFY_LOGIN] + update_text = notifyStrings[NOTIFY_LOGIN_TEXT] + title = notifyStrings[NOTIFY_LOGIN] self._notifyPushover(title, update_text.format(ipaddress)) def _notifyPushover(self, title, message, sound=None, userKey=None, apiKey=None, force=False):