mirror of
https://github.com/ciromattia/kcc
synced 2026-09-01 08:27:06 +00:00
remove unar macOS
This commit is contained in:
@@ -70,9 +70,6 @@ class ComicArchive:
|
|||||||
, stdout=PIPE, stderr=STDOUT)
|
, stdout=PIPE, stderr=STDOUT)
|
||||||
if process.returncode != 0:
|
if process.returncode != 0:
|
||||||
raise OSError(EXTRACTION_ERROR)
|
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:
|
elif process.returncode != 0:
|
||||||
raise OSError(EXTRACTION_ERROR)
|
raise OSError(EXTRACTION_ERROR)
|
||||||
return targetdir
|
return targetdir
|
||||||
|
|||||||
Reference in New Issue
Block a user