Manage None as value of PYSON In

issue11280
review393771002
This commit is contained in:
Cédric Krier committed 2022-03-06 18:02:00 +01:00
1 parent 77e3f50146
commit 837cefb659
1 file changed
+4 -1
+4 -1
View File
@@ -525,7 +525,10 @@ class In(PYSON):
@staticmethod
def eval(dct, context):
return dct['k'] in dct['v']
if dct['v']:
return dct['k'] in dct['v']
else:
return False
class Date(PYSON):