PYTHON-782 Fix readchunk() for disconnected GridOut.
This commit is contained in:
parent
bd895ca079
commit
f787165d43
@ -441,6 +441,7 @@ class GridOut(object):
|
||||
"""Reads a chunk at a time. If the current position is within a
|
||||
chunk the remainder of the chunk is returned.
|
||||
"""
|
||||
self._ensure_file()
|
||||
received = len(self.__buffer)
|
||||
chunk_data = EMPTY
|
||||
chunk_size = int(self.chunk_size)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user