mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
Undo cleanup reversal
"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d
and PR #474. I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
This commit is contained in:
parent
bfc05b7a8c
commit
be201bf4f3
|
@ -1033,7 +1033,7 @@ class OleFileIO:
|
|||
if entry[1:2] == "Image":
|
||||
fin = ole.openstream(entry)
|
||||
fout = open(entry[0:1], "wb")
|
||||
while 1:
|
||||
while True:
|
||||
s = fin.read(8192)
|
||||
if not s:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue
Block a user