Fixed permission issues (close #179)
This commit is contained in:
1 parent
9b25182393
commit
25331f5d81
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user