mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
538a01440a
commit
0f0e624fcc
@ -93,8 +93,8 @@ class Rule(object): # {{{
|
||||
|
||||
def identifiers_condition(self, col, action, val):
|
||||
if action == 'has id':
|
||||
return "identifier_in_list(field('identifiers'), '%s', '1', '')"
|
||||
return "identifier_in_list(field('identifiers'), '%s', '', '1')"
|
||||
return "identifier_in_list(field('identifiers'), '%s', '1', '')"%val
|
||||
return "identifier_in_list(field('identifiers'), '%s', '', '1')"%val
|
||||
|
||||
def ondevice_condition(self, col, action, val):
|
||||
if action == 'is set':
|
||||
|
Loading…
x
Reference in New Issue
Block a user