Comic view modes, Fulscreen keys
This commit is contained in:
@@ -76,8 +76,9 @@ class ParseCBZ:
|
||||
for i in os.walk(extract_path):
|
||||
if i[2]: # Implies files were found
|
||||
image_dir = i[0]
|
||||
found_images = i[2]
|
||||
break
|
||||
add_path_to_file = [
|
||||
os.path.join(image_dir, j) for j in i[2]]
|
||||
found_images.extend(add_path_to_file)
|
||||
|
||||
if not found_images:
|
||||
print('Found nothing in ' + self.filename)
|
||||
@@ -87,7 +88,7 @@ class ParseCBZ:
|
||||
|
||||
for count, i in enumerate(found_images):
|
||||
page_name = 'Page ' + str(count + 1)
|
||||
image_path = os.path.join(extract_path, image_dir, i)
|
||||
image_path = os.path.join(extract_path, i)
|
||||
|
||||
contents[page_name] = image_path
|
||||
|
||||
|
Reference in New Issue
Block a user