rmtree ignores errors

This commit is contained in:
Alex Xu
2025-08-04 08:36:43 -07:00
parent 55193119fb
commit a7005748c7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ class WorkerThread(QThread):
if os.path.isfile(path):
os.remove(path)
elif os.path.isdir(path):
rmtree(path)
rmtree(path, True)
GUI.progress.content = ''
GUI.progress.stop()
MW.hideProgressBar.emit()