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'
|
e = f'pricing_program({pptid}) can not find pricing_program'
|
||||||
exception(f)
|
exception(f)
|
||||||
pp = pps[0]
|
pp = pps[0]
|
||||||
fields = DictObject(**yaml.safe_load(pp.pricing_spec))
|
fields = yaml.safe_load(pp.pricing_spec)
|
||||||
newpricings = []
|
newpricings = []
|
||||||
for p in pricings:
|
for p in pricings:
|
||||||
np = {}
|
np = {}
|
||||||
|
|||||||
@ -64,7 +64,6 @@ def load_xlsx_pricing(xlsxpath):
|
|||||||
for c, cell in enumerate(row):
|
for c, cell in enumerate(row):
|
||||||
r.update({ws.cell(row=1, column=c+1).value:cell})
|
r.update({ws.cell(row=1, column=c+1).value:cell})
|
||||||
d.append(r)
|
d.append(r)
|
||||||
print(d)
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user