mirror of
https://github.com/ciromattia/kcc
synced 2026-10-12 12:32:32 +00:00
Miscellaneous GUI tweaks
This commit is contained in:
+1
-2
@@ -584,8 +584,7 @@ def getWorkFolder(afile):
|
||||
path = cbx.extract(workdir)
|
||||
except OSError:
|
||||
rmtree(workdir, True)
|
||||
print('UnRAR/7za not found or file failed to extract!')
|
||||
sys.exit(21)
|
||||
raise UserWarning("Failed to extract file.")
|
||||
else:
|
||||
rmtree(workdir, True)
|
||||
raise TypeError
|
||||
|
||||
Reference in New Issue
Block a user