mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2106205 [Calibre 8,2 show an Unhandled Exception when you try to open book filesd Nu](https://bugs.launchpad.net/calibre/+bug/2106205)
This commit is contained in:
parent
e002e5d511
commit
538d4f81af
@ -1480,7 +1480,7 @@ class BookDetails(DetailsLayout, DropMixin): # {{{
|
||||
|
||||
if typ == 'action':
|
||||
data = json_loads(from_hex_bytes(val))
|
||||
if data['url'] == NO_SEARCH_LINK:
|
||||
if data.get('url') == NO_SEARCH_LINK:
|
||||
return
|
||||
dt = data['type']
|
||||
if dt == 'search':
|
||||
|
Loading…
x
Reference in New Issue
Block a user