This commit is contained in:
yumoqing 2026-03-24 17:43:26 +08:00
parent 3c116f0ba9
commit 790ad27eb2
2 changed files with 1 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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__':