This commit is contained in:
yumoqing 2024-12-23 11:47:29 +08:00
parent 564b8e802f
commit f2dd89de45

View File

@ -56,7 +56,6 @@ async def file_download(request, filepath, content_type=None):
raise HTTPNotFound
async def path_download(request, kw, *params):
debug(f'path_download(): {kw=}, {params=}')
path = kw.get('path')
fs = FileStorage()
fp = fs.realPath(path)