aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-import
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-import')
-rwxr-xr-xwebmap-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-import b/webmap-import
index 57ef4b0..e9ae302 100755
--- a/webmap-import
+++ b/webmap-import
@@ -733,7 +733,7 @@ def setOutputFieldMap(defn, sources):
src = source['source']['path']
fieldMap2 = source['import'].get('field-map', None)
if fieldMap2 is None:
- fieldMap2 = {}
+ fieldMap2 = fieldMap
else:
if isinstance(fieldMap2, list):
# convert list to identity dictionary