Quote:
Originally Posted by nickredding
Does anyone have any insight into the cause of this? It happens when I set masthead_url or override the get_masthead_url method.
|
It is most likely a bug that you should report in calibre's trac.
Meanwhile you can circumvent this bug by implementing get_cover_url since it is called before masthead and set class field masthead_url there like this:
Code:
def get_cover_url(self):
#your code here
self.masthead_url = 'some url value'
return None