mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
Update src/PIL/PpmImagePlugin.py
Remove commented line. Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
c1744e8536
commit
be97a851a8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user