From 8eb0394140d496f6a92e55bf6d95d2d760d66293 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 16:24:17 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index aebdfb2..d5d6eca 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -288,7 +288,6 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): path = path_decode(dp) return await file_download(request, path) - # processor = self.url2processor(request, str(request.url)) processor = self.url2processor(request, str(request.url), self.request_filename) if processor: ret = await processor.handle(request) @@ -352,8 +351,10 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): return processor if real_path is None: + print(f'real_path is None ..., {url=}, {fpath=}') return None if fpath is None: + print(f'fpath is None ..., {url=}, {fpath=}') return None for word, handlername in self.y_processors: if fpath.endswith(word):