From 7ba1f587888223ec00ac4e31e652330de779354e Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sun, 12 Apr 2020 10:36:31 -0500 Subject: [PATCH] Remove unused func from mobi.py, possible py2/3 issues. --- fanficfare/mobi.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fanficfare/mobi.py b/fanficfare/mobi.py index ace02d2b..32bea5f6 100644 --- a/fanficfare/mobi.py +++ b/fanficfare/mobi.py @@ -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