This commit is contained in:
Kovid Goyal 2009-02-10 13:45:52 -08:00
parent 4fa00105b3
commit de1f54d39f

View File

@ -311,7 +311,7 @@ class MobiReader(object):
filepos = attrib.pop('filepos')
try:
attrib['href'] = "#filepos%d" % int(filepos)
except ValueError:
except:
attrib['href'] = filepos
if tag.tag == 'img':
recindex = None