# Bugfix parcel updating
* fixes bug where under certain circumstances the parcel updating would fail
This commit is contained in:
parent
155f4ff304
commit
c51d0bc72f
@ -180,11 +180,14 @@ class ParcelWFSFetcher(AbstractWFSFetcher):
|
|||||||
|
|
||||||
members = collection.get(
|
members = collection.get(
|
||||||
"wfs:member",
|
"wfs:member",
|
||||||
[],
|
None,
|
||||||
)
|
)
|
||||||
|
if members is not None:
|
||||||
if len(members) > 1:
|
if len(members) > 1:
|
||||||
|
# extend feature list with found list of new feature members
|
||||||
features += members
|
features += members
|
||||||
else:
|
else:
|
||||||
|
# convert single found feature member into list and extent feature list
|
||||||
features += [members]
|
features += [members]
|
||||||
|
|
||||||
if collection.get("@next", None) is not None:
|
if collection.get("@next", None) is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user