Skip to content

Commit

Permalink
fix image file is corrupt for real
Browse files Browse the repository at this point in the history
  • Loading branch information
axu2 committed Sep 8, 2024
1 parent 0c98acd commit add2ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kindlecomicconverter/comicarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def extract(self, targetdir):
missing = []

extraction_commands = [
['tar', '--exclude="__MACOSX"', '--exclude=".DS_Store"', '--exclude="thumbs.db"', '--exclude="Thumbs.db"', '-xf', self.filepath, '-C', targetdir],
['tar', '--exclude', '__MACOSX', '--exclude', '.DS_Store', '--exclude', 'thumbs.db', '--exclude', 'Thumbs.db', '-xf', self.filepath, '-C', targetdir],
['7z', 'x', '-y', '-xr!__MACOSX', '-xr!.DS_Store', '-xr!thumbs.db', '-xr!Thumbs.db', '-o' + targetdir, self.filepath],
]

Expand Down

0 comments on commit add2ef9

Please sign in to comment.