1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 07:39:25 +08:00

fix: do not create bin/status dir when try to remove status file although this dir has already existed

This commit is contained in:
0O0o0oOoO00
2025-11-02 01:07:23 +08:00
parent bb6961453d
commit 1618ba434d

View File

@@ -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):