Update font-char.py

This commit is contained in:
joBr99
2022-08-18 11:16:57 +02:00
committed by GitHub
parent fdb0dcb18d
commit 2f45c26f41

View File

@@ -173,8 +173,6 @@ char_res_string += "鎖離狀出目外斷態輔用運判閉碼助啟執轉閒"
print("Out: ")
#print(char_res_string)
import json
# check if translations.py is covered
with open("test", 'r') as f: # open in readonly mode
unique_chars = set(f.read())
@@ -187,4 +185,4 @@ with open("test", 'r') as f: # open in readonly mode
print(f"char {char} missing")
with open("charout.txt", "wb") as text_file:
text_file.write(char_res_string.encode('utf8'))
text_file.write(char_res_string.encode('utf8'))