fix some versions of python 3

- html.parser.HTMLParseError removed
This commit is contained in:
anxdpanic 2020-09-13 08:28:18 -04:00
parent 54ff18d23c
commit ea1685387c
3 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,7 @@
<news>
[fix] notifications for some languages on Kodi 19
[fix] searching for some languages
[fix] loading on some versions of python 3
[upd] use xbmcvfs.translatePath if available, clean up for Kodi 19
</news>
<assets>

View file

@ -1,5 +1,6 @@
[fix] notifications for some languages on Kodi 19
[fix] searching for some languages
[fix] loading on some versions of python 3
[upd] use xbmcvfs.translatePath if available, clean up for Kodi 19
6.8.4

View file

@ -26,7 +26,7 @@ class BaseItem(object):
try:
self._name = html_parser.HTMLParser().unescape(name)
except html_parser.HTMLParseError as _:
except:
self._name = name
self._uri = uri