feat: 修改重复的删除目录的逻辑

This commit is contained in:
Aaron3S
2024-04-12 11:31:09 +08:00
committed by Bryan
parent 3740a4ad6f
commit 2ac87e4ad6
3 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ class DeployAppletHostManager:
def delete_runtime_dir(self):
if settings.DEBUG_DEV:
return
shutil.rmtree(self.run_dir)
shutil.rmtree(self.run_dir, ignore_errors=True)
def _run(self, cb_func: callable, **kwargs):
try: