From 240c7c2442614a976768445a5a1cf57c5dddf4b6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 10 Apr 2023 22:45:04 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 5c01c97..f1297d2 100644 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -308,6 +308,8 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): def url2processor(self, request, url, fpath): print('fpath=', fpath) + if fpath is None: + return None config = getConfig() url = self.entireUrl(request, url) host = '/'.join(str(request.url).split('/')[:3])