Miscellaneous GUI tweaks

This commit is contained in:
Paweł Jastrzębski
2014-01-18 09:51:17 +01:00
parent 66b867c1ca
commit 562dad02fa
5 changed files with 18 additions and 11 deletions
+1 -2
View File
@@ -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