mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +02:00
fix: pdf/cbz file already exists, but download process continues
This commit is contained in:
parent
cb6cf6df1a
commit
eb5b93d654
@ -94,6 +94,7 @@ def main():
|
|||||||
doujinshi.download()
|
doujinshi.download()
|
||||||
else:
|
else:
|
||||||
logger.info(f'Skip download doujinshi because a PDF/CBZ file exists of doujinshi {doujinshi.name}')
|
logger.info(f'Skip download doujinshi because a PDF/CBZ file exists of doujinshi {doujinshi.name}')
|
||||||
|
continue
|
||||||
|
|
||||||
if options.generate_metadata:
|
if options.generate_metadata:
|
||||||
generate_metadata_file(options.output_dir, doujinshi)
|
generate_metadata_file(options.output_dir, doujinshi)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user