From 46f1697fbe95e906ba6b6bc8b99ff28ee06df735 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sat, 2 Nov 2024 20:02:18 -0700 Subject: [PATCH] simplify covers by replacing ebok with pdoc --- kindlecomicconverter/dualmetafix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kindlecomicconverter/dualmetafix.py b/kindlecomicconverter/dualmetafix.py index 7426f93a..a3edbe1d 100644 --- a/kindlecomicconverter/dualmetafix.py +++ b/kindlecomicconverter/dualmetafix.py @@ -147,7 +147,7 @@ def __init__(self, infile, outfile, asin): rec0 = self.datain_rec0 rec0 = del_exth(rec0, 501) rec0 = del_exth(rec0, 113) - rec0 = add_exth(rec0, 501, b'EBOK') + rec0 = add_exth(rec0, 501, b'PDOC') rec0 = add_exth(rec0, 113, asin) replacesection(self.datain, 0, rec0) @@ -174,7 +174,7 @@ def __init__(self, infile, outfile, asin): rec0 = self.datain_kfrec0 rec0 = del_exth(rec0, 501) rec0 = del_exth(rec0, 113) - rec0 = add_exth(rec0, 501, b'EBOK') + rec0 = add_exth(rec0, 501, b'PDOC') rec0 = add_exth(rec0, 113, asin) replacesection(self.datain, datain_kf8, rec0)