Skip to content

Commit

Permalink
Whitelist character £
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Falk-Petersen committed Oct 4, 2024
1 parent 5acc414 commit ee7d10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fingr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit ee7d10b

Please sign in to comment.