mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
191c68189c
commit
19db6649c3
@ -127,7 +127,7 @@ class Rule(object): # {{{
|
|||||||
val, lt, eq, gt)
|
val, lt, eq, gt)
|
||||||
|
|
||||||
def multiple_condition(self, col, action, val, sep):
|
def multiple_condition(self, col, action, val, sep):
|
||||||
if sep == '|':
|
if not sep or sep == '|':
|
||||||
sep = ','
|
sep = ','
|
||||||
if action == 'is set':
|
if action == 'is set':
|
||||||
return "test(field('%s'), '1', '')"%col
|
return "test(field('%s'), '1', '')"%col
|
||||||
|
Loading…
x
Reference in New Issue
Block a user