bugfix
This commit is contained in:
parent
ebf07ad54f
commit
8c86881a83
@ -196,8 +196,7 @@ class PricingProgram:
|
|||||||
if not recs:
|
if not recs:
|
||||||
debug(f'id={ppid} pricing_program not found')
|
debug(f'id={ppid} pricing_program not found')
|
||||||
r = recs[0]
|
r = recs[0]
|
||||||
PricingProgram.pp_db2app(r)
|
x = DictObject(** yaml.safe_load(r.pricing_spec))
|
||||||
x = [ DictObject(**f) for f in r.pricing_spec ]
|
|
||||||
webpath = env.quote(write_pattern_xlsx(x))
|
webpath = env.quote(write_pattern_xlsx(x))
|
||||||
return entire_url(f'/idfile?path={webpath}')
|
return entire_url(f'/idfile?path={webpath}')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user