about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2016-03-01 20:56:12 +0100
committerPaweł Jastrzębski <[email protected]>2016-03-01 20:56:12 +0100
commit25331f5d8192a412bd4deaa805bbd767d4430a65 (patch)
treec19130964591d4736e10b89301c7e71225137a88
parentGUI overhaul (diff)
downloadkcc-25331f5d8192a412bd4deaa805bbd767d4430a65.tar.gz
kcc-25331f5d8192a412bd4deaa805bbd767d4430a65.tar.bz2
kcc-25331f5d8192a412bd4deaa805bbd767d4430a65.zip
Fixed permission issues (close #179)
Diffstat (limited to '')
-rwxr-xr-xkcc/comic2ebook.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py
index 7e1d90c..1c7bbb2 100755
--- a/kcc/comic2ebook.py
+++ b/kcc/comic2ebook.py
@@ -591,6 +591,7 @@ def getWorkFolder(afile):
             raise UserWarning("Failed to detect archive format.")
     else:
         raise UserWarning("Failed to open source file/directory.")
+    sanitizePermissions(path)
     newpath = mkdtemp('', 'KCC-')
     copytree(path, os.path.join(newpath, 'OEBPS', 'Images'))
     rmtree(path, True)