bugfix
This commit is contained in:
parent
4821948d65
commit
92c152aab9
@ -25,8 +25,10 @@ class PricingProgram:
|
|||||||
|
|
||||||
async def get_spec(self, psid):
|
async def get_spec(self, psid):
|
||||||
debug(f'psid={psid}')
|
debug(f'psid={psid}')
|
||||||
recs = await self.sor.R('pricing_spec', {'id', psid})
|
recs = await self.sor.R('pricing_spec', {'id': psid})
|
||||||
return recs
|
if len(recs) > 0:
|
||||||
|
return recs
|
||||||
|
return None
|
||||||
|
|
||||||
async def get_remote_pricing(sor, charge, data):
|
async def get_remote_pricing(sor, charge, data):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user