bump version
Some checks failed
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/pr/tests Pipeline was successful
ci/woodpecker/pr/test_docker_amd64 Pipeline was successful
ci/woodpecker/pr/test_docker_arm64 Pipeline was successful
ci/woodpecker/pr/test_release Pipeline was successful
ci/woodpecker/pr/test_tox_arm64 Pipeline failed
ci/woodpecker/pr/test_tox_amd64 Pipeline failed

This commit is contained in:
Ivan Schaller 2023-02-11 14:20:01 +01:00
parent d5dd8b1668
commit b949dc8c9f
Signed by: olofvndrhr
GPG key ID: 2A6BE07D99C8C205
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -1 +1 @@
__version__ = "2.2.18"
__version__ = "2.2.19"

View file

@ -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