mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix coloring broken for tags like columns
This commit is contained in:
parent
d38c3a9fd9
commit
191c68189c
@ -127,6 +127,8 @@ 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 == '|':
|
||||||
|
sep = ','
|
||||||
if action == 'is set':
|
if action == 'is set':
|
||||||
return "test(field('%s'), '1', '')"%col
|
return "test(field('%s'), '1', '')"%col
|
||||||
if action == 'is not set':
|
if action == 'is not set':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user