Browse Source

Merge pull request #6884 from unreal4u/notify-program-source-on-update

Insert the name of the program being updated in the notifier
pull/5752/merge
Ruud Burger 9 years ago
committed by GitHub
parent
commit
0f0aaac15e
  1. 2
      couchpotato/core/_base/updater/main.py

2
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())

Loading…
Cancel
Save