Merge pull request '# HOTFIX' (#584) from hotfix_feature_checl into master
Reviewed-on: #584
This commit was merged in pull request #584.
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