fixed filenames when writing

This commit is contained in:
Lu Baumann 2023-10-17 01:09:35 +02:00 committed by GitHub
parent 2e34f1b6c5
commit 739e4b3577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ if "vou" not in "\n".join(de):
koy = ([i for i in range(len(de)) if "\"koy\"" in de[i]][0], -1) koy = ([i for i in range(len(de)) if "\"koy\"" in de[i]][0], -1)
koy = (koy[0] - 1, bracket_end(de, koy[0])) koy = (koy[0] - 1, bracket_end(de, koy[0]))
de = de[:koy[1]] + de_koy_patch + de[koy[1]:] de = de[:koy[1]] + de_koy_patch + de[koy[1]:]
with open(f"{xkb}/symbols/de_neo_base", "w") as f: with open(f"{xkb}/symbols/de", "w") as f:
f.write("\n".join(de)) f.write("\n".join(de))
if "quote_switch" not in "\n".join(level3): if "quote_switch" not in "\n".join(level3):