View Single Post
Old 06-20-2025, 04:37 PM   #33
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,156
Karma: 148951761
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 chaley View Post
Turns out that the changes in May are (mostly) correct. It is illegal to use check_yes_no() outside the GUI, for example in the kobo device driver. It worked by accident.

Replace the template with
Code:
program: $#kepub == 'yes'
EDIT: by "mostly" I mean that it detects a real error but gives the wrong message.
That's the code I was using in the KoboTouchExtended driver and when things changed, it didn't work. I'll try it again and see what happens.

OK, I've tried the new/old code and it's working. Thank you.

Last edited by JSWolf; 06-20-2025 at 04:45 PM.
JSWolf is offline   Reply With Quote