Fix type mismatching

This commit is contained in:
Takeshi KOMIYA 2017-04-14 22:58:41 +09:00
parent 87901afb3f
commit 6e7c75e642

View File

@ -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