Skip to content

Commit

Permalink
Merge pull request #25 from seanap/develop
Browse files Browse the repository at this point in the history
Fix typo on volume/series case
  • Loading branch information
djdembeck authored Aug 30, 2021
2 parents 4e5167f + a865eb7 commit 7a92327
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [v2021.08.30.1](https://github.com/seanap/Audiobooks.bundle/tree/v2021.08.30.1) (2021-08-30)

[Full Changelog](https://github.com/seanap/Audiobooks.bundle/compare/v2021.08.29.2...v2021.08.30.1)

**Implemented enhancements:**

- Add log levels to prefs [\#14](https://github.com/seanap/Audiobooks.bundle/issues/14)
- Use real log levels [\#24](https://github.com/seanap/Audiobooks.bundle/pull/24) ([djdembeck](https://github.com/djdembeck))
- Map series' to moods, code quality improvements [\#23](https://github.com/seanap/Audiobooks.bundle/pull/23) ([djdembeck](https://github.com/djdembeck))

## [v2021.08.29.2](https://github.com/seanap/Audiobooks.bundle/tree/v2021.08.29.2) (2021-08-30)

[Full Changelog](https://github.com/seanap/Audiobooks.bundle/compare/v2021.08.28.1...v2021.08.29.2)
Expand Down
6 changes: 3 additions & 3 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from update_tools import UpdateTool
from urls import SiteUrl

VERSION_NO = '2021.08.30.1'
VERSION_NO = '2021.08.30.2'

# Delay used when requesting HTML,
# may be good to have to prevent being banned from the site
Expand Down Expand Up @@ -677,15 +677,15 @@ def handle_series(self, helper, html):
r, '//li[contains(@class, "seriesLabel")]/text()[2]'
).strip()
if helper.volume == ",":
helper.helper.volume = ""
helper.volume = ""
helper.volume2 = self.getStringContentFromXPath(
r, '//li[contains(@class, "seriesLabel")]/text()[3]'
).strip()
if helper.volume2 == ",":
helper.volume2 = ""

helper.volume_def = (
helper.helper.volume2 if helper.volume2 else helper.volume
helper.volume2 if helper.volume2 else helper.volume
)

# fix series when audible 'forgets' the series link…
Expand Down

0 comments on commit 7a92327

Please sign in to comment.