From 5455ad447d436d824af3d1f2e974319de5303f98 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 16:27:09 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index d5d6eca..b5e0c21 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -343,16 +343,12 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): url = self.entireUrl(request, url) host = '/'.join(url.split('/')[:3]) path = '/' + '/'.join(url.split('/')[3:]) - real_path = self.abspath(request, path) if config.website.startswiths: for a in config.website.startswiths: if path.startswith(a.leading): processor = FunctionProcessor(path,self,a) 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