Skip to content

Commit 73945c0

Browse files
committed
Merge pull request #2631 from spatialthoughts/patch-1
Change comparison back to NULL
2 parents 49eaf16 + 899c57a commit 73945c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/fTools/tools/doSpatialJoin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def myself(L):
5656

5757
def filter_null(vals):
5858
"""Takes an iterator of values and returns a new iterator returning the same values but skipping any NULL values"""
59-
return (v for v in vals if v is not None)
59+
return (v for v in vals if v != NULL)
6060

6161

6262
class Dialog(QDialog, Ui_Dialog):

0 commit comments

Comments
 (0)