mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Always apply title case to downloaded metadata - tired of crap metadata sources with 99% lowercase characters
This commit is contained in:
parent
6e64f5ec4e
commit
1e675af91a
@ -411,7 +411,7 @@ def search(title=None, author=None, publisher=None, isbn=None, isbndb_key=None,
|
||||
r.pubdate = pubdate
|
||||
|
||||
def fix_case(x):
|
||||
if x and x.isupper():
|
||||
if x:
|
||||
x = titlecase(x)
|
||||
return x
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user