forked from 0x2620/pandora
width/height are integer
This commit is contained in:
parent
eb15170059
commit
962be98592
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ def parseCondition(condition, user, owner=None):
|
||||||
if k == 'list':
|
if k == 'list':
|
||||||
key_type = ''
|
key_type = ''
|
||||||
|
|
||||||
|
if k in ('width', 'height'):
|
||||||
|
key_type = 'integer'
|
||||||
|
|
||||||
if k == 'groups':
|
if k == 'groups':
|
||||||
if op == '==' and v == '$my':
|
if op == '==' and v == '$my':
|
||||||
if not owner:
|
if not owner:
|
||||||
|
|
Loading…
Reference in a new issue