diff options
| author | Paweł Jastrzębski <[email protected]> | 2018-03-10 08:26:14 +0100 |
|---|---|---|
| committer | Paweł Jastrzębski <[email protected]> | 2018-03-10 08:26:14 +0100 |
| commit | eec20995156a6cc78f0e669cf3778926835a9300 (patch) | |
| tree | d5dfe835628a8095c2ac66ff6c82abc7980601d6 /kindlecomicconverter/KCC_gui.py | |
| parent | Merge pull request #261 from ciromattia/dev (diff) | |
| download | kcc-eec20995156a6cc78f0e669cf3778926835a9300.tar.gz kcc-eec20995156a6cc78f0e669cf3778926835a9300.tar.bz2 kcc-eec20995156a6cc78f0e669cf3778926835a9300.zip | |
Fixed unrar detection
Diffstat (limited to 'kindlecomicconverter/KCC_gui.py')
| -rw-r--r-- | kindlecomicconverter/KCC_gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index 71e06de..7959b40 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -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 |