bugfix
This commit is contained in:
parent
514e83e12a
commit
8f2635944e
@ -171,6 +171,7 @@ class PricingProgram:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
async def load_pricing_data(pptid, webpath_xlsx):
|
async def load_pricing_data(pptid, webpath_xlsx):
|
||||||
|
env = ServerEnv()
|
||||||
fs = FileStorage()
|
fs = FileStorage()
|
||||||
fp = fs.realPath(webpath_xlsx)
|
fp = fs.realPath(webpath_xlsx)
|
||||||
d = load_xlsx_pricing(fp)
|
d = load_xlsx_pricing(fp)
|
||||||
@ -185,8 +186,10 @@ class PricingProgram:
|
|||||||
})
|
})
|
||||||
return True
|
return True
|
||||||
e = f'pricing_program_timing(id={pptid}) not found'
|
e = f'pricing_program_timing(id={pptid}) not found'
|
||||||
|
exception(e)
|
||||||
raise e
|
raise e
|
||||||
e = f'pricing_program_timing(id={pptid}) read failed'
|
e = f'pricing_program_timing(id={pptid}) read failed'
|
||||||
|
exception(e)
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user