mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-20 22:12:37 -04:00
kepubify template result: allow 0 and no as synonyms for false
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user