This commit is contained in:
yumoqing 2025-02-17 11:27:14 +08:00
parent 7b4eaf3cbe
commit 751e6c6b0e

View File

@ -36,7 +36,7 @@ async def file_handle(request, filepath, download=False):
return r return r
async def file_download(request, filepath): async def file_download(request, filepath):
return file_handle(request, filepath, download=True) return await file_handle(request, filepath, download=True)
async def path_download(request, kw, *params): async def path_download(request, kw, *params):
path = kw.get('path') path = kw.get('path')