This commit is contained in:
BasioMeusPuga
2017-11-18 12:26:01 +05:30
parent bad8efe1d4
commit a5b00f8b6f
5 changed files with 10 additions and 26 deletions

View File

@@ -52,18 +52,10 @@ class ParseCBR:
return None
def get_contents(self):
# TODO
# CBR files containing multiple directories for multiple chapters
file_settings = {
'images_only': True}
extract_path = os.path.join(self.temp_dir, self.file_md5)
contents = collections.OrderedDict()
# This is a brute force approach
# Maybe try reading from the file as everything
# matures a little bit more
contents = collections.OrderedDict()
# I'm currently choosing not to keep multiple files in memory

View File

@@ -55,18 +55,10 @@ class ParseCBZ:
return None
def get_contents(self):
# TODO
# CBZ files containing multiple directories for multiple chapters
file_settings = {
'images_only': True}
extract_path = os.path.join(self.temp_dir, self.file_md5)
contents = collections.OrderedDict()
# This is a brute force approach
# Maybe try reading from the file as everything
# matures a little bit more
contents = collections.OrderedDict()
# I'm currently choosing not to keep multiple files in memory