Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 92368df

Browse files
committed
Fix reading abstract
1 parent 45085bd commit 92368df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def getTheme(config, permissions, configItem, result, resultItem, project_settin
435435
"Title": configItem["attribution"],
436436
"OnlineResource": configItem["attributionUrl"]
437437
}
438-
resultItem["abstract"] = getChildElementValue(capabilities, "Service/Abstract")
438+
resultItem["abstract"] = getChildElementValue(root, [np['ns'] + "Service", np['ns'] + "Abstract"], ns)
439439
resultItem["keywords"] = ", ".join(keywords)
440440
resultItem["wms_name"] = wmsName(configItem["url"])
441441
if "format" in configItem:

0 commit comments

Comments
 (0)