Updated test results

Fix updater
Added comment regarding code taken from calibre source
This commit is contained in:
Ozzie Isaacs
2022-01-30 10:57:29 +01:00
parent f6b46bb170
commit 3123a914a4
3 changed files with 615 additions and 402 deletions

View File

@@ -72,6 +72,10 @@ class Metadata:
) -> Generator[str, None, None]:
"""
Taken from calibre source code
It's a simplified (cut out what is unnecessary) version of
https://github.com/kovidgoyal/calibre/blob/99d85b97918625d172227c8ffb7e0c71794966c0/
src/calibre/ebooks/metadata/sources/base.py#L363-L367
(src/calibre/ebooks/metadata/sources/base.py - lines 363-398)
"""
title_patterns = [
(re.compile(pat, re.IGNORECASE), repl)