Skip to content

Commit

Permalink
Grid view cover cache: Fix covers not loading when cache entries are …
Browse files Browse the repository at this point in the history
…stale
  • Loading branch information
kovidgoyal committed Mar 17, 2024
1 parent f95d35c commit d84b1e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/calibre/gui2/library/alternate_views.py
Expand Up @@ -983,6 +983,7 @@ def fetch_cover_from_cache(self, book_id):
else:
# The cached cover is stale
cache_valid = False
cdata = tcdata

This comment has been minimized.

Copy link
@kovidgoyal

kovidgoyal Mar 17, 2024

Author Owner

@cbhaley Please review

else:
# We found a cached cover for a book without a cover. This can
# happen in older version of calibre that can reuse book_ids
Expand Down

1 comment on commit d84b1e2

@cbhaley
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a small "to be safer" change as a separate PR

Please sign in to comment.