/head: changeset 120
Cleaned up imports
This commit is contained in:
@ -17,14 +17,16 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
import TTY, UIBase
|
||||
availableUIs = {'TTY': TTY, 'UIBase': UIBase}
|
||||
import UIBase
|
||||
try:
|
||||
import TTY
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
import Tkinter
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
import Tk
|
||||
availableUIs['Tk'] = Tk
|
||||
|
||||
import detector
|
||||
|
Reference in New Issue
Block a user