View Single Post
Old 03-01-2025, 04:50 AM   #253
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,025
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
@DNSB: This should take care of your issue:
https://github.com/kovidgoyal/calibr...27d9209b60a175

@JSWolf: The template you use needs to return either false, 0 or blank for books you dont want to send and anything else for books you do want to send.

Looking at the code of the old KTE plugin it seems to have had a bug where it would send if the template returned anything other than blank, at least if I am reading it correctly.
Would this code work? check_yes_no("#kepub", 1, 0, 0)

If not, what would the correct code be? Thanks.

Last edited by JSWolf; 03-01-2025 at 04:54 AM.
JSWolf is offline   Reply With Quote