diff --git a/src/PIL/BlpImagePlugin.py b/src/PIL/BlpImagePlugin.py index a5cfad5f4..31373a532 100644 --- a/src/PIL/BlpImagePlugin.py +++ b/src/PIL/BlpImagePlugin.py @@ -442,7 +442,7 @@ class BLPEncoder(ImageFile.PyEncoder): 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)