mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
rmtree ignores errors
This commit is contained in:
@@ -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