mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 03:45:19 +01:00
Comments.
This commit is contained in:
parent
1a42ba554d
commit
458f02e6fd
1 changed files with 2 additions and 0 deletions
|
|
@ -116,6 +116,8 @@ def image_to_hexstring(self, data):
|
|||
for char in data:
|
||||
raw_hex += hex(ord(char)).replace('0x', '').rjust(2, '0')
|
||||
|
||||
# Images must be broken up so that they are no longer than 129 chars
|
||||
# per line
|
||||
hex_string = ''
|
||||
col = 1
|
||||
for char in raw_hex:
|
||||
|
|
|
|||
Loading…
Reference in a new issue