This commit is contained in:
yumoqing 2025-09-14 20:58:34 +08:00
parent e4f5ae99bf
commit fdb90612e7

View File

@ -119,7 +119,7 @@ class FileStorage:
except Exception as e: except Exception as e:
exception(f'{path=}, {p=} remove error') 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) fp = self.realPath(webpath)
stats = os.stat(fp) stats = os.stat(fp)
startpos = 0 startpos = 0