mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix ISBNdb plugin not handling non ascii queries
This commit is contained in:
parent
88aca5bfa8
commit
107912f63f
@ -81,7 +81,7 @@ class ISBNDB(Source):
|
||||
author_tokens = self.get_author_tokens(authors,
|
||||
only_first_author=True)
|
||||
tokens += author_tokens
|
||||
tokens = [quote(t) for t in tokens]
|
||||
tokens = [quote(t.encode('utf-8') if isinstance(t, unicode) else t) for t in tokens]
|
||||
q = '+'.join(tokens)
|
||||
q = 'index1=combined&value1='+q
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user