get defaults to None
This commit is contained in:
parent
b70bfe147c
commit
d6bab8ddfa
7 changed files with 12 additions and 12 deletions
|
|
@ -26,7 +26,7 @@ def parseCondition(condition):
|
|||
if not k:
|
||||
k = 'all'
|
||||
v = condition['value']
|
||||
op = condition.get('operator', None)
|
||||
op = condition.get('operator')
|
||||
if not op:
|
||||
op = ''
|
||||
if op.startswith('!'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue