small fix to xbmc notification test

This commit is contained in:
mano3m
2012-07-24 22:55:53 +02:00
parent 108044948f
commit 80929b5806
+2 -2
View File
@@ -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