mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
kepubify template result: allow 0 and no as synonyms for false
This commit is contained in:
parent
26f5dd45b2
commit
6c1a08ee11
@ -2316,7 +2316,7 @@ class KOBOTOUCH(KOBO):
|
||||
print(f'kepubify template: {template} returned error', file=sys.stderr)
|
||||
kepubifiable.add(mi.uuid)
|
||||
return True
|
||||
if kepubify and kepubify != 'false':
|
||||
if kepubify and kepubify.lower() not in ('false', '0', 'no'):
|
||||
kepubifiable.add(mi.uuid)
|
||||
return True
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user