rmtree ignores errors
This commit is contained in:
1 parent
55193119fb
commit
a7005748c7
4 files changed
+4
-4
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user