Skip to content

Commit

Permalink
fix arguments pass issue #344
Browse files Browse the repository at this point in the history
  • Loading branch information
RicterZ committed Sep 22, 2024
1 parent 09bb846 commit 17bc33c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist/
output/
venv/
.vscode/
test-output
4 changes: 2 additions & 2 deletions nhentai/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def main():
generate_html(options.output_dir, doujinshi, template=constant.CONFIG['template'])

if options.is_cbz:
generate_doc('cbz', options.output_dir, doujinshi, options.rm_origin_dir)
generate_doc('cbz', options.output_dir, doujinshi, options.regenerate)

if options.is_pdf:
generate_doc('pdf', options.output_dir, doujinshi, options.rm_origin_dir)
generate_doc('pdf', options.output_dir, doujinshi, options.regenerate)

if options.move_to_folder:
if options.is_cbz:
Expand Down

0 comments on commit 17bc33c

Please sign in to comment.