Skip to content

Commit 9ade9dd

Browse files
committed
MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.
1 parent 3febc24 commit 9ade9dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/audiopy/audiopy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Other options are:
3737
"""
3838

3939
import sys
40-
from Tkinter import *
4140
import sunaudiodev
4241
from SUNAUDIODEV import *
4342

@@ -50,6 +49,7 @@ __version__ = '1.0'
5049

5150
class MainWindow:
5251
def __init__(self, device):
52+
from Tkinter import *
5353
self.__devctl = device
5454
info = device.getinfo()
5555
#

0 commit comments

Comments
 (0)