mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-02 15:10:01 -05:00
...
This commit is contained in:
parent
9638baa6ee
commit
8f931ddb2f
@ -144,7 +144,7 @@ def _match(query, value, matchkind):
|
||||
pass
|
||||
return False
|
||||
|
||||
def force_to_bool(self, val):
|
||||
def force_to_bool(val):
|
||||
if isinstance(val, (str, unicode)):
|
||||
try:
|
||||
val = icu_lower(val)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user