From fdb90612e72ad674ec731859cd94f0091c1d5793 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 14 Sep 2025 20:58:34 +0800 Subject: [PATCH] bugfi --- ahserver/filestorage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/filestorage.py b/ahserver/filestorage.py index f17f6c0..58c33b1 100644 --- a/ahserver/filestorage.py +++ b/ahserver/filestorage.py @@ -119,7 +119,7 @@ class FileStorage: except Exception as e: exception(f'{path=}, {p=} remove error') - async def streaming_read(request, webpath, buf_size=8096): + async def streaming_read(self, request, webpath, buf_size=8096): fp = self.realPath(webpath) stats = os.stat(fp) startpos = 0