Tools: Fix glyph range generator script

This commit is contained in:
KamFretoZ 2023-12-30 18:07:31 +07:00 committed by Connor McLaughlin
parent 9445018586
commit f258ea2906
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def get_pairs(tokens):
with open(dst_file, "r") as f:
original = f.read()
updated = re.sub(out_pattern, "\\1 " + get_pairs(tokens) + " \\2", original)
updated = re.sub(out_pf_pattern, "\\1 " + get_pairs(pf_tokens) + " \\2", original)
updated = re.sub(out_pf_pattern, "\\1 " + get_pairs(pf_tokens) + " \\2", updated)
if original != updated:
with open(dst_file, "w") as f:
f.write(updated)