From 353d2a34ed18375f80f052e45c699d0ed0c236e4 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 6 Mar 2019 00:01:56 +1100 Subject: [PATCH] Update src/PIL/PpmImagePlugin.py Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com> --- src/PIL/PpmImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/PpmImagePlugin.py b/src/PIL/PpmImagePlugin.py index 8a19c1b94..e3e411cad 100644 --- a/src/PIL/PpmImagePlugin.py +++ b/src/PIL/PpmImagePlugin.py @@ -76,7 +76,7 @@ class PpmImageFile(ImageFile.ImageFile): self.custom_mimetype = { b"P4": "image/x-portable-bitmap", b"P5": "image/x-portable-graymap", - b"P6": "image/x-portable-pixmap" + b"P6": "image/x-portable-pixmap", }.get(magic_number) if mode == "1":