From 0909235a63347445f1d889ad270b78a4f82a80b4 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 30 Apr 2017 17:07:56 +0200 Subject: [PATCH] Fix TypeError --- resources/lib/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 2f373308..4e943658 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -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)