Skip to content

Commit e527f51

Browse files
committed
Fix get_file_hash not found io_buffer
1 parent 57ac33e commit e527f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def get_hash(org):
103103
async def get_file_hash(org: str, path: Path):
104104
hash = get_hash(org)
105105
async with aiofiles.open(path, "rb") as r:
106-
while data := await r.read(Config.get("io_buffer")):
106+
while data := await r.read(Config.get("advanced.io_buffer")):
107107
if not data:
108108
break
109109
hash.update(data)

0 commit comments

Comments
 (0)