... als ein Zeichen durch _ ersetzen

This commit is contained in:
flukx 2024-07-21 11:53:13 +02:00
parent 6a62184fb8
commit ed8bf1d9eb

View file

@ -135,7 +135,8 @@ REPLACEMENTS = {'\n': REPLACER,
"\u202f": "_", # some space "\u202f": "_", # some space
"": "Nr", "": "Nr",
"°C": "degCelsius", "°C": "degCelsius",
"\\": REPLACER "": "_",
"\\": REPLACER
} }
REPLACEMENTS.update( REPLACEMENTS.update(
{s: SINGLE_REPLACE_SYMBOLS[i] for i, s in enumerate(SINGLE_SYMBOLS)}) {s: SINGLE_REPLACE_SYMBOLS[i] for i, s in enumerate(SINGLE_SYMBOLS)})