From dbf7bd6187082fc1d33715c3bb1e5fe854d1e280 Mon Sep 17 00:00:00 2001 From: lixiaoyong1 Date: Wed, 14 Aug 2024 14:40:04 +0800 Subject: [PATCH] Remove redundant variable definitions --- common/file.py | 1 - 1 file changed, 1 deletion(-) diff --git a/common/file.py b/common/file.py index ded21b8..8d042c5 100644 --- a/common/file.py +++ b/common/file.py @@ -50,7 +50,6 @@ class FileOperation: ''' Write dict type content to json file ''' - full_file_name = file_name js_obj = json5.dumps(data_dict, indent=4) full_file_name = Config.get_output_path() + file_name with io.open(full_file_name, mode='a', encoding='utf-8') as file_obj: -- Gitee