From 80929b5806d498241e404cd352aecfc53e64bfe4 Mon Sep 17 00:00:00 2001 From: mano3m <-> Date: Tue, 24 Jul 2012 22:55:53 +0200 Subject: [PATCH] small fix to xbmc notification test --- couchpotato/core/notifications/xbmc/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/notifications/xbmc/main.py b/couchpotato/core/notifications/xbmc/main.py index 5f16bdb8..1c83bdd5 100644 --- a/couchpotato/core/notifications/xbmc/main.py +++ b/couchpotato/core/notifications/xbmc/main.py @@ -17,9 +17,9 @@ class XBMC(Notification): successful = 0 for host in hosts: if self.send({'command': 'ExecBuiltIn', 'parameter': 'Notification(CouchPotato, %s)' % message}, host): - success += 1 + successful += 1 if self.send({'command': 'ExecBuiltIn', 'parameter': 'XBMC.updatelibrary(video)'}, host): - success += 1 + successful += 1 return successful == len(hosts)*2