workflows: expand geolocation list (#36515)
This commit is contained in:
parent
e43bba68f5
commit
654d3d3b91
|
@ -96,7 +96,7 @@ class GeolocateWorkflowStatusItem(WorkflowStatusItem):
|
|||
return
|
||||
if not formdata.formdef.geolocations:
|
||||
return
|
||||
geolocation_point = formdata.formdef.geolocations.keys()[0]
|
||||
geolocation_point = list(formdata.formdef.geolocations.keys())[0]
|
||||
if not formdata.geolocations:
|
||||
formdata.geolocations = {}
|
||||
if formdata.geolocations.get(geolocation_point) and not self.overwrite:
|
||||
|
|
Loading…
Reference in New Issue