mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-18 20:43:04 -05:00
IGN:...
This commit is contained in:
parent
4fa00105b3
commit
de1f54d39f
@ -311,7 +311,7 @@ class MobiReader(object):
|
|||||||
filepos = attrib.pop('filepos')
|
filepos = attrib.pop('filepos')
|
||||||
try:
|
try:
|
||||||
attrib['href'] = "#filepos%d" % int(filepos)
|
attrib['href'] = "#filepos%d" % int(filepos)
|
||||||
except ValueError:
|
except:
|
||||||
attrib['href'] = filepos
|
attrib['href'] = filepos
|
||||||
if tag.tag == 'img':
|
if tag.tag == 'img':
|
||||||
recindex = None
|
recindex = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user