diff --git a/HMI/code_gen/pages/font-char.py b/HMI/code_gen/pages/font-char.py index c1bd936a..58578443 100644 --- a/HMI/code_gen/pages/font-char.py +++ b/HMI/code_gen/pages/font-char.py @@ -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')) \ No newline at end of file + text_file.write(char_res_string.encode('utf8'))