From e41417d3bcb84d87c6f406b356423d3aa6d29a52 Mon Sep 17 00:00:00 2001 From: Snosixtyboo <40643808+Snosixtyboo@users.noreply.github.com> Date: Tue, 5 May 2020 01:30:00 +0200 Subject: [PATCH] Fixed issue with xmbc.log expecting a string rather than a tuple Issue causes the addon to fail if at least one of the servers is not enabled. --- notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier.py b/notifier.py index 75bdfce..64bc4d0 100644 --- a/notifier.py +++ b/notifier.py @@ -155,7 +155,7 @@ homeWin.setProperty(("notifier.enable%i" % i), ("%s" % ENABLE)) if ENABLE == "false": # homeWin.setProperty( ("notifier.enable%i" % i) , ("false")) - xbmc.log(("[%s] : Enableserver = %s, i = %d " % (scriptname, Addon.getSetting('enableserver%i' % i), i),DEBUG_LOG)) + xbmc.log(("[%s] : Enableserver = %s, i = %d " % (scriptname, Addon.getSetting('enableserver%i' % i), i)),DEBUG_LOG) # If server not defined continue with the next continue USER = Addon.getSetting('user%i' % i)