From ce62dca3264db9b31ce251106c5170eac491e92e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 21 Dec 2019 08:15:48 +1100 Subject: [PATCH] Aligned comments correctly --- src/PIL/BmpImagePlugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PIL/BmpImagePlugin.py b/src/PIL/BmpImagePlugin.py index cdef77ced..5f88c2b75 100644 --- a/src/PIL/BmpImagePlugin.py +++ b/src/PIL/BmpImagePlugin.py @@ -322,11 +322,11 @@ def _save(im, fp, filename, bitmap_header=True): if bitmap_header: offset = 14 + header + colors * 4 fp.write( - b"BM" - + o32(offset + image) # file type (magic) - + o32(0) # file size - + o32(offset) # reserved - ) # image data offset + b"BM" # file type (magic) + + o32(offset + image) # file size + + o32(0) # reserved + + o32(offset) # image data offset + ) # bitmap info header fp.write(