From eafce4436e976428c40618cc365d1b4224f3ccbe Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 17 Oct 2011 22:02:31 +0200 Subject: [PATCH] Don't add event to prowl notification --- couchpotato/core/plugins/updater/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/updater/main.py b/couchpotato/core/plugins/updater/main.py index 1970ede1..2d6af113 100644 --- a/couchpotato/core/plugins/updater/main.py +++ b/couchpotato/core/plugins/updater/main.py @@ -78,7 +78,8 @@ class Updater(Plugin): self.doUpdate() else: self.update_version = remote.hash - fireEvent('updater.available', message = 'A new update is available', data = self.getVersion()) + if self.conf('notification'): + fireEvent('updater.available', message = 'A new update is available', data = self.getVersion()) self.last_check = time.time()