From ec1bae3c51ea15c8a8e3f05fc27c28358675151c Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Mon, 13 Mar 2017 20:30:33 +0100 Subject: [PATCH] Fix TypeError for malformed browsing xml --- 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 2a2f2c8a..dc298df4 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -857,7 +857,7 @@ def browse_plex(key=None, plex_section_id=None): containerSize=int(settings('limitindex'))) try: xml[0].attrib - except (ValueError, AttributeError, IndexError): + except (ValueError, AttributeError, IndexError, TypeError): log.error('Could not browse to %s' % key) return xbmcplugin.endOfDirectory(HANDLE, False)