bugfix
This commit is contained in:
parent
d65bc52f07
commit
6c1a11a9f1
@ -231,6 +231,9 @@ class PricingProgram:
|
|||||||
debug(f'id={ppid} pricing_program not found')
|
debug(f'id={ppid} pricing_program not found')
|
||||||
r = recs[0]
|
r = recs[0]
|
||||||
x = DictObject(** yaml.safe_load(r.pricing_spec))
|
x = DictObject(** yaml.safe_load(r.pricing_spec))
|
||||||
|
fields = x
|
||||||
|
if x.get('fields'):
|
||||||
|
fields = x['fields']
|
||||||
fpath = write_pattern_xlsx(r.name, x)
|
fpath = write_pattern_xlsx(r.name, x)
|
||||||
return fpath
|
return fpath
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user