1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Fixed stupid typo

This commit is contained in:
Paweł Jastrzębski
2015-09-16 11:52:17 +02:00
parent ac9f3a5d87
commit b12825045b

View File

@@ -682,7 +682,7 @@ def getWorkFolder(afile):
raise UserWarning("Failed to detect archive format.")
newpath = mkdtemp('', 'KCC-')
copytree(path, os.path.join(newpath, 'OEBPS', 'Images'))
rmtree(src, True)
rmtree(path, True)
return newpath