From 0494ba0f837e7dc87950d9ca230cc0554ef7d870 Mon Sep 17 00:00:00 2001 From: Teacher_Dong Date: Fri, 1 Mar 2024 01:30:59 +0000 Subject: [PATCH] Signed-off-by: Teacher_Dong Signed-off-by: Teacher_Dong --- libs/fuzzlib/tools/run_result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/fuzzlib/tools/run_result.py b/libs/fuzzlib/tools/run_result.py index 4da38ae..8c2490b 100644 --- a/libs/fuzzlib/tools/run_result.py +++ b/libs/fuzzlib/tools/run_result.py @@ -80,7 +80,7 @@ class RunResult(): pass def write_analysis_result(self, analysis_ressult_path, html_format=True): - is os.path.exists(analysis_ressult_path): + if os.path.exists(analysis_ressult_path): os.remove(analysis_ressult_path) with os.fdopen(os.open(analysis_ressult_path, FLAGS, MODES), 'wb') as f: if html_format: -- Gitee