Fix paramount e tunein

This commit is contained in:
mac12m99
2021-04-18 14:11:29 +02:00
parent 1e55f25b05
commit 931f345e35
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -110,6 +110,7 @@ def unescape(text):
def fixup(m):
text = m.group(0)
ret = text
if text[:2] == "&#":
# character reference
try:
@@ -136,7 +137,6 @@ def unescape(text):
pass
except:
pass
# from core.support import dbg;dbg()
if type(ret) != str:
ret = ret.decode()
return ret # leave as is