diff --git a/llmage/utils.py b/llmage/utils.py index e3dde1c..cce31cb 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -35,7 +35,7 @@ async def read_webpath(webpath): fs = FileStorage() p = fs.realPath(webpath) async with aiofiles.open(p,'rb') as f: - bin = f.read() + bin = await f.read() return bin async def write_llmio(luid, io_dic):