Fix TypeError
This commit is contained in:
parent
6961bf19c7
commit
0909235a63
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ def channels():
|
|||
xml = downloadutils.DownloadUtils().downloadUrl('{server}/channels/all')
|
||||
try:
|
||||
xml[0].attrib
|
||||
except (ValueError, AttributeError, IndexError):
|
||||
except (ValueError, AttributeError, IndexError, TypeError):
|
||||
log.error('Could not download Plex Channels')
|
||||
return xbmcplugin.endOfDirectory(HANDLE, False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue