Corrected comment [ci skip]

This commit is contained in:
Andrew Murray 2019-09-16 21:06:13 +10:00
parent e4ad7af6b0
commit 0009646a41

View File

@ -2074,10 +2074,10 @@ class Image(object):
if open_fp:
if params.get("append", False):
fp = builtins.open(filename, "r+b")
else:
# Open also for reading ("+"), because TIFF save_all
# writer needs to go back and edit the written data.
fp = builtins.open(filename, "r+b")
else:
fp = builtins.open(filename, "w+b")
try: