소스 검색

Copy type from metaData when parsing field layout

Andrej 4 주 전
부모
커밋
aa1acc4fbf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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})