Skip to content

Commit

Permalink
PDF conversion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Carleslc committed May 14, 2018
1 parent 8921bdf commit 036b6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def single(single):
for chapter in CHAPTERS:
chapter_dir = chapter_directory(manga, chapter)
chapter_number_paths = sorted(list(files(chapter_dir, 'png')), key=lambda name_path: int(name_path[0]))
chapter_paths = map(lambda name_path: name_path[1], chapter_number_paths)
chapter_paths = list(map(lambda name_path: name_path[1], chapter_number_paths))
if args.single:
chapters_paths.extend(chapter_paths)
else:
Expand Down

0 comments on commit 036b6c1

Please sign in to comment.