Not re-raising TCL errors. Solves issue #82.
This commit is contained in:
parent
05d6adda8b
commit
0cee5d95cc
|
@ -139,6 +139,10 @@ class App(QtCore.QObject):
|
||||||
App.log.debug("Started in " + os.getcwd())
|
App.log.debug("Started in " + os.getcwd())
|
||||||
os.chdir(self.app_home)
|
os.chdir(self.app_home)
|
||||||
|
|
||||||
|
####################
|
||||||
|
## Initialize GUI ##
|
||||||
|
####################
|
||||||
|
|
||||||
QtCore.QObject.__init__(self)
|
QtCore.QObject.__init__(self)
|
||||||
|
|
||||||
self.ui = FlatCAMGUI(self.version)
|
self.ui = FlatCAMGUI(self.version)
|
||||||
|
@ -586,7 +590,6 @@ class App(QtCore.QObject):
|
||||||
self.shell.append_output(result + '\n')
|
self.shell.append_output(result + '\n')
|
||||||
except Tkinter.TclError, e:
|
except Tkinter.TclError, e:
|
||||||
self.shell.append_error('ERROR: ' + str(e) + '\n')
|
self.shell.append_error('ERROR: ' + str(e) + '\n')
|
||||||
raise
|
|
||||||
return
|
return
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue