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