From 751e6c6b0ec2bc490bd5e482b3f91f4c50a14e28 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 17 Feb 2025 11:27:14 +0800 Subject: [PATCH] bugfix --- ahserver/filedownload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/filedownload.py b/ahserver/filedownload.py index ef129e8..cba4ca1 100644 --- a/ahserver/filedownload.py +++ b/ahserver/filedownload.py @@ -36,7 +36,7 @@ async def file_handle(request, filepath, download=False): return r 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): path = kw.get('path')