mirror of
https://github.com/ciromattia/kcc
synced 2025-12-16 03:06:33 +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"
|
options.targetDir = args[0] + "-Splitted"
|
||||||
print "\nSplitting images..."
|
print "\nSplitting images..."
|
||||||
if os.path.isdir(options.sourceDir):
|
if os.path.isdir(options.sourceDir):
|
||||||
rmtree(options.targetDir, onerror=fixReadOnly)
|
rmtree(options.targetDir, True)
|
||||||
copytree(options.sourceDir, options.targetDir)
|
copytree(options.sourceDir, options.targetDir)
|
||||||
work = []
|
work = []
|
||||||
pagenumber = 0
|
pagenumber = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user