Removed unused code

This commit is contained in:
Andrew Murray 2023-10-02 11:11:35 +11:00
parent aaa758751d
commit 60d88389ae

View File

@ -442,7 +442,7 @@ class BLPEncoder(ImageFile.PyEncoder):
return len(data), 0, data return len(data), 0, data
def _save(im, fp, filename, save_all=False): def _save(im, fp, filename):
if im.mode != "P": if im.mode != "P":
msg = "Unsupported BLP image mode" msg = "Unsupported BLP image mode"
raise ValueError(msg) raise ValueError(msg)