From 19db6649c37e8ce2c27acfcca8c40e6515f81bba Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Jun 2011 14:59:20 -0600 Subject: [PATCH] ... --- src/calibre/library/coloring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/coloring.py b/src/calibre/library/coloring.py index fc14ef1efd..26d709a321 100644 --- a/src/calibre/library/coloring.py +++ b/src/calibre/library/coloring.py @@ -127,7 +127,7 @@ class Rule(object): # {{{ val, lt, eq, gt) def multiple_condition(self, col, action, val, sep): - if sep == '|': + if not sep or sep == '|': sep = ',' if action == 'is set': return "test(field('%s'), '1', '')"%col