diff --git a/pricing/pricing.py b/pricing/pricing.py index 68a5228..5b25397 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -308,7 +308,7 @@ class PricingProgram: async def reload_pp_data(ppt): env = ServerEnv() ppid = None - async with get_sqlor_context(env, 'pricing') as sor: + async with get_sor_context(env, 'pricing') as sor: recs = await sor.R('pricing_program', {'id': ppt['id']}) if len(recs) == 0: exception(f'{ppt["id"]} not found in pricing_program')