mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Better import of Tkinter
This commit is contained in:
parent
50878f5767
commit
706812ec87
|
@ -28,9 +28,7 @@
|
|||
try:
|
||||
import tkinter
|
||||
except ImportError:
|
||||
import Tkinter
|
||||
tkinter = Tkinter
|
||||
del Tkinter
|
||||
import Tkinter as tkinter
|
||||
|
||||
from PIL import Image
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user