Skip to content

Commit

Permalink
simplify covers by replacing ebok with pdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
axu2 committed Nov 3, 2024
1 parent 1131bab commit 46f1697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kindlecomicconverter/dualmetafix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 46f1697

Please sign in to comment.