From ee7d10baf73a0bc09f85a1f551a080f02a51e819 Mon Sep 17 00:00:00 2001 From: Lars Falk-Petersen Date: Fri, 4 Oct 2024 21:50:18 +0200 Subject: [PATCH] =?UTF-8?q?Whitelist=20character=20=C2=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fingr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fingr.py b/fingr.py index b8f819a..c6036f2 100755 --- a/fingr.py +++ b/fingr.py @@ -143,7 +143,7 @@ def clean_input(data: str) -> str: data = data.replace("_", " ") # TODO: include all weird characters for other languages - SPECIAL_CHARS = "^-.,:/~¤ øæåØÆÅéüÜÉýÝ" + SPECIAL_CHARS = "^-.,:/~¤£ øæåØÆÅéüÜÉýÝ" return "".join( c for c in data if c in string.digits + string.ascii_letters + SPECIAL_CHARS )