Removed more closed source PIL plus

This commit is contained in:
wiredfool 2015-10-24 14:23:24 +01:00
parent 7f83226e36
commit bba30f736b

View File

@ -22,13 +22,7 @@ if sys.platform not in ["win32", "darwin"]:
raise ImportError("ImageGrab is OS X and Windows only")
if sys.platform == "win32":
try:
# built-in driver (1.1.3 and later)
grabber = Image.core.grabscreen
except AttributeError:
# stand-alone driver (pil plus)
import _grabscreen
grabber = _grabscreen.grab
grabber = Image.core.grabscreen
elif sys.platform == "darwin":
import os
import tempfile