bugfi
This commit is contained in:
parent
fdb90612e7
commit
7b6e8dc672
@ -138,7 +138,7 @@ class FileStorage:
|
|||||||
await f.seek(startpos)
|
await f.seek(startpos)
|
||||||
pos = startpos
|
pos = startpos
|
||||||
while pos < endpos:
|
while pos < endpos:
|
||||||
b = f.read(buf_size)
|
b = await f.read(buf_size)
|
||||||
yield b
|
yield b
|
||||||
pos += len(b)
|
pos += len(b)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user