Hi,
Perhaps the 501 tag is in each exth header more than once. I have seen some mobis that have duplicate exth numbers in the same header. I could easily modify the del_exth to keep trying until no more 501 elements exist in each header.
Also, it could just be that the del_exth method is broken since I only tested it with kindlegen 2.9 generated mobis which had no 501 metadata elements.
Please let me know what you find out and I would be happy to try and fix the code.
Take care,
KevinH
|