Added 7z/CB7 support

This commit is contained in:
Paweł Jastrzębski
2013-09-19 11:01:15 +02:00
parent a58d98f0dc
commit ab8effbc32
7 changed files with 137 additions and 9 deletions
+1 -2
View File
@@ -569,8 +569,7 @@ def getWorkFolder(afile):
path = cbx.extract(workdir)
except OSError:
rmtree(workdir)
print 'Unrar not found, please download from ' + \
'http://www.rarlab.com/download.htm and put into your PATH.'
print 'UnRAR/7za not found or file failed to extract!'
sys.exit(21)
else:
rmtree(workdir)