From ed8bf1d9eb87f512e363d7ff11a8737f24fa8b1f Mon Sep 17 00:00:00 2001 From: flukx Date: Sun, 21 Jul 2024 11:53:13 +0200 Subject: [PATCH] ... als ein Zeichen durch _ ersetzen --- removeBadSymbols.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/removeBadSymbols.py b/removeBadSymbols.py index 06ea47a..45af38d 100755 --- a/removeBadSymbols.py +++ b/removeBadSymbols.py @@ -135,7 +135,8 @@ REPLACEMENTS = {'\n': REPLACER, "\u202f": "_", # some space "N°": "Nr", "°C": "degCelsius", -"\\": REPLACER + "…": "_", + "\\": REPLACER } REPLACEMENTS.update( {s: SINGLE_REPLACE_SYMBOLS[i] for i, s in enumerate(SINGLE_SYMBOLS)})