This commit is contained in:
yumoqing 2026-07-14 13:30:20 +08:00
parent cc8eb67155
commit 3394b6ac06

View File

@ -41,11 +41,11 @@ async def file_download(request, filepath):
async def path_download(request, params_kw, *params, **kw):
path = params_kw.get('path')
if path is None:
if not params:
raise Exception(f'not path found')
path = params.join('/')
debug(f'{params=}')
path = '/'.join(params)
download = False
if params_kw.get('download'):