mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:54:53 +02:00
...
This commit is contained in:
parent
f8ae941269
commit
822c7a449c
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ def link_activated(self, evt):
|
|||
try:
|
||||
data = JSON.parse(evt.currentTarget.getAttribute(link_attr))
|
||||
except:
|
||||
print('WARNING: Failed to parse link data {}, ignoring'.format(evt.currentTarget.getAttribute(link_attr)))
|
||||
print('WARNING: Failed to parse link data {}, ignoring'.format(evt.currentTarget?.getAttribute?(link_attr)))
|
||||
return
|
||||
name, frag = data.name, data.frag
|
||||
if name is current_spine_item().name:
|
||||
|
|
|
|||
Loading…
Reference in a new issue