Merge branch 'master' of git.kaiyuancloud.cn:yumoqing/ahserver
This commit is contained in:
commit
5a95182c00
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user