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:
|
try:
|
||||||
import tkinter
|
import tkinter
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import Tkinter
|
import Tkinter as tkinter
|
||||||
tkinter = Tkinter
|
|
||||||
del Tkinter
|
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user