Update src/PIL/PpmImagePlugin.py

Remove commented line.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Piolie 2021-02-04 21:25:50 -03:00 committed by Andrew Murray
parent c1744e8536
commit be97a851a8

View File

@ -147,7 +147,6 @@ class PpmPlainDecoder(ImageFile.PyDecoder):
def _read_block(self, block_size=10 ** 6): def _read_block(self, block_size=10 ** 6):
return bytearray(self.fd.read(block_size)) return bytearray(self.fd.read(block_size))
# return self.fd.read(block_size)
def _find_comment_end(self, block, start=0): def _find_comment_end(self, block, start=0):
a = block.find(b"\n", start) a = block.find(b"\n", start)