This commit is contained in:
yumoqing 2019-08-28 11:30:31 +08:00
parent 9cf98f46a5
commit fb6a96773d

View File

@ -182,7 +182,7 @@ class ProcessorResource(StaticResource):
dp = '/'.join(pp) dp = '/'.join(pp)
path = path_decode(dp) path = path_decode(dp)
print('path=',path) print('path=',path)
return await file_download(path) return await file_download(request, path)
for word, handlername in self.y_processors: for word, handlername in self.y_processors:
if path.endswith(word): if path.endswith(word):