From 1bd7506140907560923d401ea0dda9e6fddcd5c0 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 25 Jun 2024 21:04:52 -0700 Subject: [PATCH] remove unar macOS --- kindlecomicconverter/comicarchive.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kindlecomicconverter/comicarchive.py b/kindlecomicconverter/comicarchive.py index 23cfac4..ee9b0d3 100644 --- a/kindlecomicconverter/comicarchive.py +++ b/kindlecomicconverter/comicarchive.py @@ -70,9 +70,6 @@ class ComicArchive: , stdout=PIPE, stderr=STDOUT) if process.returncode != 0: raise OSError(EXTRACTION_ERROR) - elif process.returncode != 0 and platform.system() == 'Darwin': - process = subprocess_run_silent(['unar', self.filepath, '-f', '-o', targetdir], - stdout=PIPE, stderr=STDOUT) elif process.returncode != 0: raise OSError(EXTRACTION_ERROR) return targetdir