# HOTFIX
* fixes bug where specific case leads to no-feature detection
This commit is contained in:
@@ -201,10 +201,10 @@ class GeoJsonValidator:
|
||||
Returns:
|
||||
|
||||
"""
|
||||
features = self._input_geojson.get("features", [])
|
||||
features = self._input_geojson.get("features", None)
|
||||
|
||||
is_input_geojson_empty = len(self._input_geojson) == 0
|
||||
no_features_in_input_found = not features
|
||||
no_features_in_input_found = features is None
|
||||
|
||||
if not is_input_geojson_empty and no_features_in_input_found:
|
||||
# check if _input_geojson is a feature itself
|
||||
|
||||
Reference in New Issue
Block a user