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

Commit 3896f8b

Browse files
committed
Read description from themesConfig.json
1 parent 73b8e67 commit 3896f8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

themes_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ def getTheme(config, permissions, configItem, result, resultItem, project_settin
431431
resultItem["id"] = uniqueThemeId(wmsName(configItem["url"]), config)
432432
resultItem["name"] = getChildElementValue(topLayer, [np['ns'] + "Name"], ns)
433433
resultItem["title"] = wmsTitle
434+
resultItem["description"] = configItem["description"] if "description" in configItem else ""
434435
resultItem["attribution"] = {
435436
"Title": configItem["attribution"],
436437
"OnlineResource": configItem["attributionUrl"]

0 commit comments

Comments
 (0)