View Single Post
Old 06-28-2024, 12:30 PM   #1187
zzjing
Junior Member
zzjing began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2024
Device: Kindle PW3
I decided to try to look at the code and see if I can hack it. In the process, I think I have found a bug in "Check missing EBOK cdetype". It seems that exth.cdetype is a byte string, so in check_mobi.py:
Code:
if exth.cdetype == 'EBOK':
always fails, and should be changed to
Code:
if exth.cdetype == b'EBOK':
Hope this helps.
zzjing is offline   Reply With Quote