View Single Post
Old 01-25-2018, 05:05 PM   #302
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,698
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BeckyEbook View Post
I noticed that you mention validation plugins, but both features have not been added to the validationcontainer.py file.

bk.get_epub_is_modified()
bk.get_epub_filepath()
If I remember correctly, the ValidationContainer plugin class inherits from BookContainer. Meaning they'll be available even if you don't "see" them.

EDIT: Actually after looking, I see that ValidationContainer inherits from OutputContainer, which amounts to the same thing: both new methods being available to validation plugins.

From validationcontainer.py:
Code:
from outputcontainer import OutputContainer

class ValidationContainer(OutputContainer):

Last edited by DiapDealer; 01-25-2018 at 05:12 PM.
DiapDealer is online now   Reply With Quote