Attempt to fix access denied errors
This commit is contained in:
1 parent
3f0eea44f4
commit
38d3ae6a6a
1 file changed
+1
-1
+1
-1
@@ -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