Skip to content

Commit

Permalink
Silence FutureWarning when passing XML etree object to filter (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre authored Sep 24, 2023
1 parent ebb03bd commit 94f3f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owslib/feature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def getPOSTGetFeatureRequest(
request.set_featureid(featureid)
elif bbox:
request.set_bbox(self.getBBOXPost(bbox, typename))
elif filter:
elif filter is not None:
request.set_filter(filter)

if featureversion:
Expand Down

0 comments on commit 94f3f41

Please sign in to comment.