From 100d3c6bc3f5d1b82e41e19e29e535f5c93df08d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 17:34:58 +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 b5e0c21..4dcdbaf 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -340,6 +340,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): def url2processor(self, request, url, fpath): config = getConfig() + url1 = url url = self.entireUrl(request, url) host = '/'.join(url.split('/')[:3]) path = '/' + '/'.join(url.split('/')[3:]) @@ -350,7 +351,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): return processor if fpath is None: - print(f'fpath is None ..., {url=}, {fpath=}') + print(f'fpath is None ..., {url=}, {url1=}') return None for word, handlername in self.y_processors: if fpath.endswith(word):