瀏覽代碼

Syntax error

Andrej 1 周之前
父節點
當前提交
07001862c4
共有 1 個文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      importXLSX.py

+ 3 - 0
importXLSX.py

@@ -331,7 +331,10 @@ def generateEntries(df,r,pars):
    return [entry]
 
 def setParsingObject(pars):
+   #updateAlias from pars
+   updateAlias=pars.get('updateAlias',lambda x,y: x)
    debug=pars.get('debug',0)
+
    obj={}
    obj['fields']=getFields(pars)
    obj['lookupVars']=getVariables(obj['fields'],fieldType='LOOKUP')