From 1618ba434dda8fdf4e5d7421ca80136c5113194d Mon Sep 17 00:00:00 2001 From: 0O0o0oOoO00 <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Sun, 2 Nov 2025 01:07:23 +0800 Subject: [PATCH] fix: do not create bin/status dir when try to remove status file although this dir has already existed --- module/instance_watcher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/module/instance_watcher.py b/module/instance_watcher.py index d86728e06..a6f6dc883 100644 --- a/module/instance_watcher.py +++ b/module/instance_watcher.py @@ -84,7 +84,6 @@ class InstanceWatcher: def remove_status_file(self, name): f = pathlib.Path(InstanceWatcher.STATUS_DIR) / f"{name}.status" if f.exists(): - f.parent.mkdir(parents=True, exist_ok=True) f.unlink() def get_all_prev_instance(self):