From 706812ec87a9fb557f4355b32b676ca4d2655011 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Wed, 13 Mar 2013 17:58:11 -0700 Subject: [PATCH] Better import of Tkinter --- PIL/ImageTk.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PIL/ImageTk.py b/PIL/ImageTk.py index feca9adce..c1ea95bc2 100644 --- a/PIL/ImageTk.py +++ b/PIL/ImageTk.py @@ -28,9 +28,7 @@ try: import tkinter except ImportError: - import Tkinter - tkinter = Tkinter - del Tkinter + import Tkinter as tkinter from PIL import Image