1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

notifiers/libnotify: fix syntax error from #624

Prior to this got error 'too many values to unpack' when updating
and libnotify notifications were enabled.
This commit is contained in:
Matthew Haughton 2014-08-26 19:19:34 -04:00
parent 38c57f3a92
commit efd11a6c08

View File

@ -95,7 +95,8 @@ class LibnotifyNotifier:
def notify_git_update(self, new_version = "??"): def notify_git_update(self, new_version = "??"):
if sickbeard.USE_LIBNOTIFY: if sickbeard.USE_LIBNOTIFY:
update_text=common.notifyStrings[common.NOTIFY_GIT_UPDATE_TEXT], title=common.notifyStrings[common.NOTIFY_GIT_UPDATE] update_text=common.notifyStrings[common.NOTIFY_GIT_UPDATE_TEXT]
title=common.notifyStrings[common.NOTIFY_GIT_UPDATE]
self._notify(title, update_text + new_version) self._notify(title, update_text + new_version)
def test_notify(self): def test_notify(self):