mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Fix import.
This commit is contained in:
parent
599dbfca2f
commit
91b47c64e1
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue