From ceda047be90449fb9cb098b1e1fb7c3e8a542ba9 Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Mon, 5 Aug 2024 07:01:49 +0000 Subject: [PATCH] Modify the syntax Signed-off-by: Caohongtao --- src/toolService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toolService.py b/src/toolService.py index 17f4726..04afc1b 100644 --- a/src/toolService.py +++ b/src/toolService.py @@ -43,7 +43,7 @@ class ToolService: with open(filename, 'w') as f: f.write(content) except FileNotFoundError: - raise FileNotFoundError('The file is not exist') + raise FileNotFoundError('The file does not exist') def mkdirs(self, path): """ -- Gitee