|
@@ -92,8 +92,10 @@ def getLookupMap(pars,fields,fieldName):
|
|
|
raise KeyError(f'Could not find lookup for {fieldName}')
|
|
|
schema=lookup['schemaName']
|
|
|
query=lookup['queryName']
|
|
|
+
|
|
|
key=lookup['keyColumn']
|
|
|
val=lookup['displayColumn']
|
|
|
+
|
|
|
project=pars['project']
|
|
|
db=getDB(pars)
|
|
|
ds=db.selectRows(project,schema,query,[])
|
|
@@ -175,7 +177,7 @@ def parseDate(qv):
|
|
|
def parseDouble(qv):
|
|
|
try:
|
|
|
return float(qv)
|
|
|
- except ValueError:
|
|
|
+ except (ValueError,TypeError):
|
|
|
return None
|
|
|
|
|
|
#m
|