From 0009646a41baa6b9ec82cd1546e8e16b9148ee65 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 16 Sep 2019 21:06:13 +1000 Subject: [PATCH] Corrected comment [ci skip] --- src/PIL/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index b0ba266e0..be4755e5b 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -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: