Remove unused func from mobi.py, possible py2/3 issues.

This commit is contained in:
Jim Miller 2020-04-12 10:36:31 -05:00
parent 6b3992e238
commit 7ba1f58788

View file

@ -34,10 +34,6 @@ languages = {"en-us" : 0x0409,
"en" : 0x0009,
"en-gb" : 0x0809}
def ToHex(s):
v = ['%.2x' % ord(c) for c in s]
return ' '.join(v)
class _SubEntry:
def __init__(self, pos, html_data):
self.pos = pos