From 60d88389aee2a8052889011cc928c7bfcea12898 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 2 Oct 2023 11:11:35 +1100 Subject: [PATCH] Removed unused code --- src/PIL/BlpImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/BlpImagePlugin.py b/src/PIL/BlpImagePlugin.py index a5cfad5f4ee..31373a5326a 100644 --- a/src/PIL/BlpImagePlugin.py +++ b/src/PIL/BlpImagePlugin.py @@ -442,7 +442,7 @@ def encode(self, bufsize): return len(data), 0, data -def _save(im, fp, filename, save_all=False): +def _save(im, fp, filename): if im.mode != "P": msg = "Unsupported BLP image mode" raise ValueError(msg)