bugfix
This commit is contained in:
parent
cd6be234de
commit
e38de4c412
@ -65,7 +65,8 @@ class BaseProcessor:
|
||||
kw = await self.run_ns['request2ns']()
|
||||
self.run_ns['params_kw'] = kw
|
||||
self.run_ns.update(kw)
|
||||
self.run_ns['ref_real_path'] = self.path
|
||||
self.run_ns['ref_real_path'] = self.real_path
|
||||
self.run_ns['processor'] = self
|
||||
|
||||
async def execute(self,request):
|
||||
await self.set_run_env(request)
|
||||
|
@ -193,6 +193,7 @@ class ProcessorResource(StaticResource,Url2File):
|
||||
self.y_env.gethost = gethost
|
||||
self.y_env.path_call = partial(self.path_call,request)
|
||||
self.user = await auth.get_auth(request)
|
||||
self.y_env.user = self.user
|
||||
self.request_filename = self.url2file(str(request.url))
|
||||
path = request.path
|
||||
config = getConfig()
|
||||
|
Loading…
Reference in New Issue
Block a user