aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-download
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-download')
-rwxr-xr-xwebmap-download2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-download b/webmap-download
index 2724951..a4a6413 100755
--- a/webmap-download
+++ b/webmap-download
@@ -162,7 +162,7 @@ if __name__ == '__main__':
sources = []
for name, layerdefs in common.config.get('layers', {}).items():
- for layerdef in layerdefs:
+ for layerdef in layerdefs['sources']:
sourcedef = layerdef.get('source', {})
sourcedef['layername'] = name
sources.append(sourcedef)