mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Corrected comment [ci skip]
This commit is contained in:
parent
e4ad7af6b0
commit
0009646a41
|
@ -2074,10 +2074,10 @@ class Image(object):
|
||||||
|
|
||||||
if open_fp:
|
if open_fp:
|
||||||
if params.get("append", False):
|
if params.get("append", False):
|
||||||
fp = builtins.open(filename, "r+b")
|
|
||||||
else:
|
|
||||||
# Open also for reading ("+"), because TIFF save_all
|
# Open also for reading ("+"), because TIFF save_all
|
||||||
# writer needs to go back and edit the written data.
|
# writer needs to go back and edit the written data.
|
||||||
|
fp = builtins.open(filename, "r+b")
|
||||||
|
else:
|
||||||
fp = builtins.open(filename, "w+b")
|
fp = builtins.open(filename, "w+b")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user