OptionParser to ArgumentParser (#517)

This commit is contained in:
darodi authored and GitHub committed 2023-05-14 16:31:45 +00:00
1 parent d16628dc59
commit 0bbe9348a2
8 files changed
+244 -247

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ class ComicArchive:
def extract(self, targetdir):
if not os.path.isdir(targetdir):
raise OSError('Target directory don\'t exist.')
raise OSError('Target directory doesn\'t exist.')
process = Popen('7z x -y -xr!__MACOSX -xr!.DS_Store -xr!thumbs.db -xr!Thumbs.db -o"' + targetdir + '" "' +
self.filepath + '"', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True)
process.communicate()