diff --git a/CHANGELOG.md b/CHANGELOG.md index 26d22f5..0744542 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Add support for more sites -## [2.2.19] - 2023-02-XX +## [2.2.19] - 2023-02-11 ### Added diff --git a/mangadlp/__about__.py b/mangadlp/__about__.py index 0087556..47f9cd6 100644 --- a/mangadlp/__about__.py +++ b/mangadlp/__about__.py @@ -1 +1 @@ -__version__ = "2.2.18" +__version__ = "2.2.19" diff --git a/mangadlp/app.py b/mangadlp/app.py index a141310..34e6560 100644 --- a/mangadlp/app.py +++ b/mangadlp/app.py @@ -168,8 +168,8 @@ class MangaDLP: # prepare cache if specified if self.cache_path: cache = CacheDB(self.cache_path, self.manga_uuid, self.language) - cache_chapters = cache.db_uuid_chapters - log.info(f"Cached chapters: {cache_chapters}") + cached_chapters = cache.db_uuid_chapters + log.info(f"Cached chapters: {cached_chapters}") # create dict with all variables for the hooks self.hook_infos.update( @@ -200,7 +200,7 @@ class MangaDLP: skipped_chapters: list[Any] = [] error_chapters: list[Any] = [] for chapter in chapters_to_download: - if self.cache_path and chapter in cache_chapters: + if self.cache_path and chapter in cached_chapters: log.info("Chapter is in cache. Skipping download") continue