From a4fb69ffada1c1d345e586573e21dd5c0e170c96 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 18 Aug 2022 11:16:57 +0200 Subject: [PATCH] Update font-char.py --- HMI/code_gen/pages/font-char.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'))