mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Attempt to fix access denied errors
This commit is contained in:
@@ -224,7 +224,7 @@ def main(argv=None, qtGUI=None):
|
||||
options.targetDir = args[0] + "-Splitted"
|
||||
print "\nSplitting images..."
|
||||
if os.path.isdir(options.sourceDir):
|
||||
rmtree(options.targetDir, onerror=fixReadOnly)
|
||||
rmtree(options.targetDir, True)
|
||||
copytree(options.sourceDir, options.targetDir)
|
||||
work = []
|
||||
pagenumber = 0
|
||||
|
||||
Reference in New Issue
Block a user