mirror of
https://github.com/RicterZ/nhentai.git
synced 2026-04-08 18:50:21 +02:00
fix: skip post-processing when CBZ/PDF already exists, still update history DB
When check_if_need_download() returns False (CBZ/PDF file already exists), skip all post-processing steps that require doujinshi_dir to be present (serializer, generate_doc, generate_html, rm_origin_dir, etc.), as the directory may have been removed by --rm-origin-dir on a previous run. However, still write to the download history DB unconditionally so that records lost due to DB corruption/reset are recovered on the next run. Fixes #429 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "doujinshi-dl"
|
||||
version = "2.0.7"
|
||||
version = "2.0.8"
|
||||
description = "doujinshi downloader"
|
||||
authors = ["Ricter Z <ricterzheng@gmail.com>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user