Hi,
No actual deletes are done until the plugin completes. Only the fact you want to delete it should be recorded.
Perhaps there is a bug in the Sigil side not properly handling the delete or not properly updating the list of files in the viewer. Given it passes the check, we probably just need to update the viewer window inside Sigil.
I will look into this.
Thanks for the bug report!
Kevin
Quote:
Originally Posted by Toxaris
Another day, another question. I need to delete a file (a font) in the ePUB, so I use:
Code:
bk.deletefile(element[1])
The value of 'element[1]' is the manifest id, as it should. The strange thing is, that the manifest is correctly removed from the opf, but not the file itself. It still resides in the font folder. The internal check also does not report that there is an referenced file btw.
Is it a bug or am I doing something wrong?
|