From 03c90f6bbb01a5d7b67fd2764fd8dd86e5577e90 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 5 Sep 2023 10:59:09 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 4ca22c6..7de0e1c 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -9,6 +9,7 @@ import json from yarl import URL +from aiohttp import client from aiohttp_auth import auth from appPublic.http_client import Http_Client from functools import partial @@ -254,6 +255,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): self.y_env.entire_url = partial(self.entireUrl,request) self.y_env.abspath = self.abspath self.y_env.request2ns = getArgs + self.y_env.aiohttp_client = client self.y_env.resource = self self.y_env.gethost = partial(self.gethost, request) self.y_env.path_call = partial(self.path_call,request)