mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-27 14:07:05 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -814,7 +814,7 @@ def discard_books(self, book_ids):
|
|||
def _update_caches(self, sqp, book_ids):
|
||||
book_ids = sqp.all_book_ids = set(book_ids)
|
||||
remove = set()
|
||||
for query, result in self.cache:
|
||||
for query, result in tuple(self.cache):
|
||||
try:
|
||||
matches = sqp.parse(query)
|
||||
except ParseException:
|
||||
|
|
|
|||
Loading…
Reference in a new issue