mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-19 23:35:33 +01:00
Store: Ignore whitespace before and after search location.
This commit is contained in:
parent
00efad21a3
commit
ae3894de1e
1 changed files with 1 additions and 0 deletions
|
|
@ -294,6 +294,7 @@ def universal_set(self):
|
|||
return self.srs
|
||||
|
||||
def get_matches(self, location, query):
|
||||
query = query.strip()
|
||||
location = location.lower().strip()
|
||||
if location == 'authors':
|
||||
location = 'author'
|
||||
|
|
|
|||
Loading…
Reference in a new issue