Skip to content

Commit

Permalink
Update vUtils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Belfagor2005 committed Sep 20, 2024
1 parent 0650dba commit bf3a929
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion usr/lib/enigma2/python/Plugins/Extensions/vavoo/vUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,12 @@ def ReloadBouquets():
eDVBDB.getInstance().reloadServicelist()
eDVBDB.getInstance().reloadBouquets()


def decodeHtml(text):
if pythonVer == 3:
import html
text = html.unescape(text.decode('utf8')).encode('utf8')
text = html.unescape(text) # .decode('unicode_escape')
# text = html.unescape(text.decode('utf8', error=ignore)).encode('utf8')
else:
from six.moves import (html_parser)
h = html_parser.HTMLParser()
Expand Down

0 comments on commit bf3a929

Please sign in to comment.