I want my pythonPython script to do something when 2two feature attribute values are None
at the same time.
So I made this ifif
statement: if feature["Name"] and feature["Zon"] is None:
, but the code stops there and doesn't continue. Before the ifif
statement I print both feature attribute values and get the following: (None, None)
. So the code should theoretically work, but it doesn't. What am I missing?