summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Tools/IDE/PythonIDE.py3
-rw-r--r--Mac/Tools/IDE/PythonIDEMain.py4
2 files changed, 2 insertions, 5 deletions
diff --git a/Mac/Tools/IDE/PythonIDE.py b/Mac/Tools/IDE/PythonIDE.py
index 3a1a66a..9922bef 100644
--- a/Mac/Tools/IDE/PythonIDE.py
+++ b/Mac/Tools/IDE/PythonIDE.py
@@ -48,4 +48,5 @@ def init():
init()
del init
-import PythonIDEMain
+import PythonIDEMain as _PythonIDEMain
+_PythonIDEMain.PythonIDE()
diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py
index fa71cb7..1414995 100644
--- a/Mac/Tools/IDE/PythonIDEMain.py
+++ b/Mac/Tools/IDE/PythonIDEMain.py
@@ -463,7 +463,3 @@ class PythonIDE(Wapplication.Application):
except (ImportError, MacOS.Error), arg:
pass # W.Message("Cannot register Python Documentation: %s" % str(arg))
return has_help, has_doc
-
-
-PythonIDE()
-