piccoli fix

This commit is contained in:
Alhaziel01
2020-04-10 22:16:04 +02:00
parent f4b01a6ffd
commit 36ea5ff352
5 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ def unescape(text):
pass
return text # leave as is
return re.sub("&#?\w+;", fixup, text)
return re.sub("&#?\w+;", str(fixup), str(text))
# Convierte los codigos html "ñ" y lo reemplaza por "ñ" caracter unicode utf-8