View Single Post
Old 11-04-2014, 05:08 PM   #1
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Unofficial Sigil patches

This is a thread for unofficial Sigil patches.
The idea is to publish here patches which have not found the upstream but are useful (for some of us). I start with small patch which preserves file name for actions such as "Save As" when official Sigil names it just "untitled.epub". This patch makes Sigil remember name of the file even though it comes from plugin such as KindleImport.

To profit from this patch you have to change in said plugin (as of version 0.80.6) the line 192 in plugin.py from:
Code:
bk.addotherfile('dummy.epub', data)
to:
Code:
bk.addotherfile(os.path.basename(epub), data)
and some more.

But seeing my errors now, I withdraw this patch .

Last edited by varlog; 11-22-2016 at 04:53 PM.
varlog is offline   Reply With Quote