bugfix
This commit is contained in:
parent
387726eb24
commit
cc8eb67155
@ -41,6 +41,12 @@ 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('/')
|
||||
|
||||
download = False
|
||||
if params_kw.get('download'):
|
||||
download = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user