mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix type mismatching
This commit is contained in:
@@ -47,7 +47,7 @@ class InventoryFileReader(object):
|
||||
def read_buffer(self):
|
||||
# type: () -> None
|
||||
chunk = self.stream.read(BUFSIZE)
|
||||
if chunk == '':
|
||||
if chunk == b'':
|
||||
self.eof = True
|
||||
self.buffer += chunk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user