# Bugfix parcel updating

* fixes bug where under certain circumstances the parcel updating would fail
pull/79/head
mpeltriaux 3 years ago
parent db9881d05f
commit a464ed9e3f

@ -180,11 +180,14 @@ class ParcelWFSFetcher(AbstractWFSFetcher):
members = collection.get(
"wfs:member",
[],
None,
)
if members is not None:
if len(members) > 1:
# extend feature list with found list of new feature members
features += members
else:
# convert single found feature member into list and extent feature list
features += [members]
if collection.get("@next", None) is not None:

Loading…
Cancel
Save