1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Merge pull request #553

* warn p7zip-rar

* replace strerror
This commit is contained in:
Alex Xu
2023-07-05 09:54:24 -07:00
committed by GitHub
parent 5902d88d98
commit a5202458dc
2 changed files with 3 additions and 3 deletions

View File

@@ -631,7 +631,7 @@ def getWorkFolder(afile):
path = cbx.extract(workdir)
except OSError as e:
rmtree(workdir, True)
raise UserWarning(e.strerror)
raise UserWarning(e)
else:
raise UserWarning("Failed to open source file/directory.")
sanitizePermissions(path)