fix: fix format

This commit is contained in:
wql 2024-08-12 15:42:18 +08:00
parent d1718878af
commit 90c6e4d020
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def jsonl_to_json(jsonl_file, json_file):
with open(json_file, 'w', encoding='utf-8') as f:
f.write('[' + '\n')
for line in jsonl_data:
# line = line[1:-2]
line = line[0:-1]
f.write(' ' + line + ',' + '\n')
f.close()