Fixed unrar detection

This commit is contained in:
Paweł Jastrzębski
2018-03-10 08:26:14 +01:00
parent 34e2af3389
commit eec2099515
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1009,7 +1009,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'info')
rarExitCode = Popen('unrar', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True)
rarExitCode = rarExitCode.wait()
if rarExitCode == 0 or rarExitCode == 7:
if rarExitCode == 0 or rarExitCode == 1 or rarExitCode == 7:
self.UnRAR = True
else:
self.UnRAR = False