Fix import.

This commit is contained in:
Georg Brandl 2010-10-26 20:12:37 +00:00
parent 599dbfca2f
commit 91b47c64e1
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class Chooser:
if dbfile != self.__databasefile: if dbfile != self.__databasefile:
colordb = ColorDB.get_colordb(dbfile) colordb = ColorDB.get_colordb(dbfile)
if not self.__master: if not self.__master:
from Tkinter import Tk from tkinter import Tk
self.__master = Tk() self.__master = Tk()
if not self.__pw: if not self.__pw:
self.__pw, self.__sb = \ self.__pw, self.__sb = \
@ -92,7 +92,7 @@ def save():
# test stuff # test stuff
if __name__ == '__main__': if __name__ == '__main__':
from Tkinter import * from tkinter import *
class Tester: class Tester:
def __init__(self): def __init__(self):