bugfix
This commit is contained in:
parent
7ecda6d7e5
commit
100d3c6bc3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user