From 91b47c64e1ca8323f01633c0e890c9d6bc3f605e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 26 Oct 2010 20:12:37 +0000 Subject: Fix import. --- Tools/pynche/pyColorChooser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/pynche/pyColorChooser.py b/Tools/pynche/pyColorChooser.py index 9507847..3286047 100644 --- a/Tools/pynche/pyColorChooser.py +++ b/Tools/pynche/pyColorChooser.py @@ -31,7 +31,7 @@ class Chooser: if dbfile != self.__databasefile: colordb = ColorDB.get_colordb(dbfile) if not self.__master: - from Tkinter import Tk + from tkinter import Tk self.__master = Tk() if not self.__pw: self.__pw, self.__sb = \ @@ -92,7 +92,7 @@ def save(): # test stuff if __name__ == '__main__': - from Tkinter import * + from tkinter import * class Tester: def __init__(self): -- cgit v0.12