Don't show xbmc error message when not available
This commit is contained in:
1 parent
e7be68bf10
commit
bfbd3b26a9
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class XBMC(Notification):
|
|||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.urlopen(url, headers = headers)
|
self.urlopen(url, headers = headers, show_error = False)
|
||||||
except:
|
except:
|
||||||
log.error("Couldn't sent command to XBMC")
|
log.error("Couldn't sent command to XBMC")
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in new issue
Block a user