mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 14:25:02 -05: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:
parent
38c57f3a92
commit
efd11a6c08
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user