Browse Source

Added tkinter check

Josh Yelon 20 years ago
parent
commit
227cb636a1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      doc/SceneEditor/sceneEditor.py

+ 5 - 0
doc/SceneEditor/sceneEditor.py

@@ -1,3 +1,8 @@
+
+import sys
+try: import _tkinter
+except: sys.exit("Please install python module 'Tkinter'")
+
 import direct
 from direct.directbase.DirectStart import*
 from direct.showbase.TkGlobal import*