Damien Elmes 2021-06-11 20:12:38 +10:00
parent d448bd9cb6
commit 968bd1b27a
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ from typing import List, Literal, TypedDict
import stringcase import stringcase
strings_json, outfile = sys.argv[1:] strings_json, outfile = sys.argv[1:]
modules = json.load(open(strings_json)) modules = json.load(open(strings_json, encoding="utf8"))
class Variable(TypedDict): class Variable(TypedDict):

View File

@ -8,7 +8,7 @@ from typing import List, Literal, TypedDict
import stringcase import stringcase
strings_json, outfile = sys.argv[1:] strings_json, outfile = sys.argv[1:]
modules = json.load(open(strings_json)) modules = json.load(open(strings_json, encoding="utf8"))
class Variable(TypedDict): class Variable(TypedDict):