Skip to content

Commit

Permalink
Remove unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
baletu committed Apr 7, 2020
1 parent b685c18 commit cc1e78c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/PIL/IcnsImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@

import io
import os
import shutil
import struct
import subprocess
import sys
import tempfile

from PIL import Image, ImageFile, PngImagePlugin
from PIL._binary import i8
Expand Down Expand Up @@ -363,7 +360,6 @@ def _save(im, fp, filename):
Image.register_open(IcnsImageFile.format, IcnsImageFile, lambda x: x[:4] == b"icns")
Image.register_extension(IcnsImageFile.format, ".icns")

# if sys.platform == "darwin":
Image.register_save(IcnsImageFile.format, _save)
Image.register_mime(IcnsImageFile.format, "image/icns")

Expand Down

0 comments on commit cc1e78c

Please sign in to comment.