Kaydet (Commit) 9ade9ddb authored tarafından Barry Warsaw's avatar Barry Warsaw

MainWindow.__init__(): Move the import of Tkinter to here so that

command line operation is (much) faster.
üst 3febc244
...@@ -37,7 +37,6 @@ Other options are: ...@@ -37,7 +37,6 @@ Other options are:
""" """
import sys import sys
from Tkinter import *
import sunaudiodev import sunaudiodev
from SUNAUDIODEV import * from SUNAUDIODEV import *
...@@ -50,6 +49,7 @@ __version__ = '1.0' ...@@ -50,6 +49,7 @@ __version__ = '1.0'
class MainWindow: class MainWindow:
def __init__(self, device): def __init__(self, device):
from Tkinter import *
self.__devctl = device self.__devctl = device
info = device.getinfo() info = device.getinfo()
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment