View Single Post
Old 06-21-2021, 02:44 PM   #107
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
program:
s = $#kobostatus;
c = $#kobocoll;

first_non_empty
   (
    contains(s, "Send to Device", 'sync.png', ''),
    contains(s, "Kobo Store", 'drm-locked.png', ''),
    contains(s, "On Loan", 'overdrive.png', ''),
    contains(c, "[Want to Buy]", 'cart_full.png',''),
    contains(s, "Sideloaded", 'reader.png',''),
   )
Why does this return cart_full.png when [Want to Buy] isn't present in #kobocoll?

Last edited by ownedbycats; 06-21-2021 at 03:09 PM.
ownedbycats is offline   Reply With Quote