From 21c71973a92743eff0dd0f2d72e26c508f7f165c Mon Sep 17 00:00:00 2001 From: Camilo Sperberg Date: Sat, 17 Sep 2016 22:53:06 +0200 Subject: [PATCH] Insert the name of the program being updated in the notifier This is useful in the case several programs use the same channel to notify for updates, it is now possible to know which program was updated within the same channel instead of guessing --- couchpotato/core/_base/updater/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index 0ad60c0..ae9f037 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -98,7 +98,7 @@ class Updater(Plugin): if self.conf('notification'): info = self.updater.info() version_date = datetime.fromtimestamp(info['update_version']['date']) - fireEvent('updater.updated', 'Updated to a new version with hash "%s", this version is from %s' % (info['update_version']['hash'], version_date), data = info) + fireEvent('updater.updated', 'CouchPotato: Updated to a new version with hash "%s", this version is from %s' % (info['update_version']['hash'], version_date), data = info) except: log.error('Failed notifying for update: %s', traceback.format_exc())