fix: change input format

This commit is contained in:
wql 2024-12-03 10:06:32 +08:00
parent 6b2dfa14cc
commit 603b8bb2da
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ def main():
with open("mindie_test/input.txt", 'w', encoding='utf-8') as file:
json.dump(input, file, indent=4, ensure_ascii=False)
for line in input:
file.write(line + "\n")
if __name__ == "__main__":
main()