forked from 0x2620/pandora
empty value
This commit is contained in:
parent
962be98592
commit
92d5c6e763
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def parseCondition(condition, user, owner=None):
|
||||||
k = {'id': 'public_id'}.get(k, k)
|
k = {'id': 'public_id'}.get(k, k)
|
||||||
if not k:
|
if not k:
|
||||||
k = '*'
|
k = '*'
|
||||||
v = condition['value']
|
v = condition.get('value', '')
|
||||||
op = condition.get('operator')
|
op = condition.get('operator')
|
||||||
if not op:
|
if not op:
|
||||||
op = '='
|
op = '='
|
||||||
|
|
Loading…
Reference in a new issue