This could be the code causing the problem for jackets. It's at the end of jacket.py.
Code:
def is_legacy_jacket(html):
nodes = html.xpath('//x:h1[starts-with(@class,"calibrerescale")]',
namespaces={'x':'http://www.w3.org/1999/xhtml'})
if not nodes:
nodes = html.xpath('//x:h2[starts-with(@class,"calibrerescale")]',
namespaces={'x':'http://www.w3.org/1999/xhtml'})
return len(nodes) > 0
def is_current_jacket(html):
nodes = html.xpath('//x:meta[@name="calibre-content" and @content="jacket"]',
namespaces={'x':'http://www.w3.org/1999/xhtml'})
return len(nodes) > 0