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