Skip to content

Commit

Permalink
fix: gen
Browse files Browse the repository at this point in the history
  • Loading branch information
molingyu committed Sep 4, 2024
1 parent 0c00a08 commit d4b228e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def word2number_gen(include_list):
def code_gen(template_name):
print("generator %s.c" % template_name)
template = env.get_template("%s.c.j2" % template_name)
f = open("../src/gen/%s.c" % template_name, "w")
print(os.path.abspath("./gen/%s.c" % template_name))
f = open("./gen/%s.c" % template_name, "w")
dir_list = os.listdir("../src/locale")
include_list = []
for path in dir_list:
Expand Down

0 comments on commit d4b228e

Please sign in to comment.