Revert "Use relative import for _imagingtk"

This reverts commit 5820716eb3.
This commit is contained in:
Alex Clark 2013-03-08 18:43:00 -05:00
parent 6e00a9c355
commit de077c9d37

View File

@ -28,7 +28,9 @@
try:
import tkinter
except ImportError:
import Tkinter as tkinter
import Tkinter
tkinter = Tkinter
del Tkinter
from PIL import Image
@ -183,7 +185,7 @@ class PhotoImage:
except tkinter.TclError as v:
# activate Tkinter hook
try:
from PIL import _imagingtk
import _imagingtk
try:
_imagingtk.tkinit(tk.interpaddr(), 1)
except AttributeError: