mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix a harmless error message that could occur in rare circumstances while editing metadata in the library. Fixes #1315735 [runtime error while editing metadata](https://bugs.launchpad.net/calibre/+bug/1315735)
This commit is contained in:
parent
bf51722403
commit
e5bb1ed4a6
@ -814,7 +814,7 @@ class Search(object):
|
|||||||
def _update_caches(self, sqp, book_ids):
|
def _update_caches(self, sqp, book_ids):
|
||||||
book_ids = sqp.all_book_ids = set(book_ids)
|
book_ids = sqp.all_book_ids = set(book_ids)
|
||||||
remove = set()
|
remove = set()
|
||||||
for query, result in self.cache:
|
for query, result in tuple(self.cache):
|
||||||
try:
|
try:
|
||||||
matches = sqp.parse(query)
|
matches = sqp.parse(query)
|
||||||
except ParseException:
|
except ParseException:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user