From 577deb2453982aa25104faced698147634ccd859 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 8 Oct 2011 13:33:52 +0200 Subject: [PATCH] XBMC Notification fix --- couchpotato/core/notifications/xbmc/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/xbmc/main.py b/couchpotato/core/notifications/xbmc/main.py index 0149fc5c..141f7585 100644 --- a/couchpotato/core/notifications/xbmc/main.py +++ b/couchpotato/core/notifications/xbmc/main.py @@ -22,7 +22,7 @@ class XBMC(Notification): url = 'http://%s/xbmcCmds/xbmcHttp/?%s' % (host, urllib.urlencode(command)) headers = {} - if self.password: + if self.conf('password'): headers = { 'Authorization': "Basic %s" % base64.encodestring('%s:%s' % (self.conf('username'), self.conf('password')))[:-1] }