get defaults to None
This commit is contained in:
parent
b70bfe147c
commit
d6bab8ddfa
7 changed files with 12 additions and 12 deletions
|
|
@ -28,7 +28,7 @@ def parseCondition(condition, user):
|
|||
if not k:
|
||||
k = 'name'
|
||||
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