From 41e7425292b8cb335f4560951c280dfe545fbe51 Mon Sep 17 00:00:00 2001 From: marco Date: Sat, 18 Apr 2020 21:50:30 +0200 Subject: [PATCH] fix fixup --- core/scrapertools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scrapertools.py b/core/scrapertools.py index 0503b92e..0067a9f1 100644 --- a/core/scrapertools.py +++ b/core/scrapertools.py @@ -120,7 +120,7 @@ def unescape(text): pass return text # leave as is - return re.sub("&#?\w+;", str(fixup), str(text)) + return re.sub("&#?\w+;", fixup, str(text)) # Convierte los codigos html "ñ" y lo reemplaza por "ñ" caracter unicode utf-8