Commit e8d421fe authored by André's avatar André

Location: Fix ValueError: too many values to unpack

parent 48974ece
Pipeline #5464 passed with stages
in 39 seconds
......@@ -66,7 +66,7 @@ class Location(BaseModule):
item = Node('geoloc', {'xmlns': Namespace.LOCATION})
if data is not None:
data = data._asdict()
for tag, value in data:
for tag, value in data.items():
if value is not None:
item.addChild(tag, payload=value)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment