width/height are integer

This commit is contained in:
j 2023-07-06 10:48:24 +05:30
parent eb15170059
commit 962be98592
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ def parseCondition(condition, user, owner=None):
if k == 'list':
key_type = ''
if k in ('width', 'height'):
key_type = 'integer'
if k == 'groups':
if op == '==' and v == '$my':
if not owner: