bugfix
This commit is contained in:
parent
3c116f0ba9
commit
790ad27eb2
@ -184,7 +184,7 @@ class PricingProgram:
|
||||
e = f'pricing_program({pptid}) can not find pricing_program'
|
||||
exception(f)
|
||||
pp = pps[0]
|
||||
fields = DictObject(**yaml.safe_load(pp.pricing_spec))
|
||||
fields = yaml.safe_load(pp.pricing_spec)
|
||||
newpricings = []
|
||||
for p in pricings:
|
||||
np = {}
|
||||
|
||||
@ -64,7 +64,6 @@ def load_xlsx_pricing(xlsxpath):
|
||||
for c, cell in enumerate(row):
|
||||
r.update({ws.cell(row=1, column=c+1).value:cell})
|
||||
d.append(r)
|
||||
print(d)
|
||||
return d
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user