--- a/PLCOpenEditor.py Tue Aug 07 17:38:48 2007 +0200
+++ b/PLCOpenEditor.py Wed Aug 08 14:55:39 2007 +0200
@@ -2947,7 +2947,7 @@
ignored_exceptions = [] # a problem with a line in a module is only reported once per session
-def wxAddExceptHook(path, app_version='[No version]'):#, ignored_exceptions=[]):
+def AddExceptHook(path, app_version='[No version]'):#, ignored_exceptions=[]):
def handle_exception(e_type, e_value, e_traceback):
traceback.print_exception(e_type, e_value, e_traceback) # this is very helpful when there's an exception in the rest of this func
@@ -2993,7 +2993,7 @@
wx.InitAllImageHandlers()
# Install a exception handle for bug reports
- wxAddExceptHook(os.getcwd(),__version__)
+ AddExceptHook(os.getcwd(),__version__)
frame = PLCOpenEditor(None)