mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-30 13:38:04 +00:00
Bugfix search with wrong custom column configured
This commit is contained in:
@@ -49,6 +49,8 @@ class scholar(Metadata):
|
||||
tokens = [quote(t.encode("utf-8")) for t in title_tokens]
|
||||
query = " ".join(tokens)
|
||||
try:
|
||||
scholarly.set_timeout(20)
|
||||
scholarly.set_retries(2)
|
||||
scholar_gen = itertools.islice(scholarly.search_pubs(query), 10)
|
||||
except Exception as e:
|
||||
log.warning(e)
|
||||
|
||||
Reference in New Issue
Block a user