From 90c6e4d020709a675997fed48067a35b93010e5f Mon Sep 17 00:00:00 2001 From: wql Date: Mon, 12 Aug 2024 15:42:18 +0800 Subject: [PATCH] fix: fix format --- jsonl_data/jsonl_to_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonl_data/jsonl_to_json.py b/jsonl_data/jsonl_to_json.py index b2ec1e19..62a21761 100644 --- a/jsonl_data/jsonl_to_json.py +++ b/jsonl_data/jsonl_to_json.py @@ -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()