From 38d3ae6a6ac90ec129f9ab89eb1c46b48463cecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Mon, 7 Oct 2013 22:30:07 +0200 Subject: [PATCH] Attempt to fix access denied errors --- kcc/comic2panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcc/comic2panel.py b/kcc/comic2panel.py index 3085ad9..705dffe 100644 --- a/kcc/comic2panel.py +++ b/kcc/comic2panel.py @@ -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