remove unused rm.txt

This commit is contained in:
Helium314 2024-07-06 07:42:55 +02:00
parent bdab98c2c9
commit cc4d8cfedc
2 changed files with 2 additions and 4 deletions

View file

@ -1,2 +0,0 @@
[popup_keys]
o ò ó ö ô õ œ ø

4
tools/diacritics.py Normal file → Executable file
View file

@ -84,9 +84,9 @@ def read_diacritics() -> dict[str, list[str]]:
with open(diacritics_file) as f: with open(diacritics_file) as f:
for line in f: for line in f:
if language == "": if language == "":
language = line.strip() language = line.split("#")[0].strip()
else: else:
d[language] = list(map(str.strip, line.split(","))) d[language] = list(map(str.strip, line.split("#")[0].split(",")))
language = "" language = ""
return d return d