bugfix
This commit is contained in:
parent
2613d9b72c
commit
e0c015d900
@ -25,7 +25,7 @@ class PricingProgram:
|
||||
env = ServerEnv()
|
||||
biz_date = await env.get_business_date(self.sor)
|
||||
ppts = await self.get_program_timing(biz_date)
|
||||
if lne(ppts) < 1:
|
||||
if len(ppts) < 1:
|
||||
return None
|
||||
ppt = ppts[0]
|
||||
recs = await self.sor.R('pricing_item', {'pptid': ppt.id})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user