forked from 0x2620/pandora
fix empty statement
This commit is contained in:
parent
d539f6aebf
commit
a49ed30ece
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def parseCondition(condition, user):
|
|||
return q
|
||||
|
||||
if (not exclude and op == '=' or op in ('$', '^')) and v == '':
|
||||
return Q(True)
|
||||
return Q()
|
||||
|
||||
if k == 'filename' and (user.is_anonymous() or \
|
||||
not user.get_profile().capability('canSeeFiles')):
|
||||
|
|
Loading…
Reference in a new issue