Selaa lähdekoodia

Copy type from metaData when parsing field layout

Andrej 4 viikkoa sitten
vanhempi
commit
aa1acc4fbf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      importXLSX.py

+ 1 - 1
importXLSX.py

@@ -48,7 +48,7 @@ def getFields(pars):
 #in principle, any property from mdFields could get copied 
 #to content reported from dsgnFields
 #try/except to robustify against missing components
-   copyFields=['lookup']
+   copyFields=['lookup','type']
    for f in dsgnFields:
       try:
          dsgnFields[f].update({x:mdFields[f][x] for x in copyFields})