mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 17:56:30 +00:00
Fixed tmp directories - Need more coffee.
This commit is contained in:
@@ -616,7 +616,7 @@ def getWorkFolder(afile):
|
||||
rmtree(path)
|
||||
raise UserWarning("Failed to extract images.")
|
||||
else:
|
||||
workdir = tempfile.mkdtemp('', 'KCC-TMP-', os.path.splitext(afile)[0])
|
||||
workdir = tempfile.mkdtemp('', 'KCC-TMP-', os.path.dirname(afile))
|
||||
cbx = cbxarchive.CBxArchive(afile)
|
||||
if cbx.isCbxFile():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user