rmtree ignores errors
This commit is contained in:
1 parent
55193119fb
commit
a7005748c7
4 files changed
+4
-4
No files matched your search
@@ -1573,7 +1573,7 @@ def makeBook(source, qtgui=None):
|
||||
if os.path.isfile(source):
|
||||
os.remove(source)
|
||||
elif os.path.isdir(source):
|
||||
rmtree(source)
|
||||
rmtree(source, True)
|
||||
|
||||
end = perf_counter()
|
||||
print(f"makeBook: {end - start} seconds")
|
||||
|
||||
Reference in new issue
Block a user