Skip to content

Commit

Permalink
remove unar macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
axu2 authored Jun 26, 2024
1 parent 4fc5cc9 commit 1bd7506
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kindlecomicconverter/comicarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ def extract(self, targetdir):
, 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
Expand Down

0 comments on commit 1bd7506

Please sign in to comment.