فهرست منبع

Not re-raising TCL errors. Solves issue #82.

Juan Pablo Caram 11 سال پیش
والد
کامیت
0cee5d95cc
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      FlatCAMApp.py

+ 4 - 1
FlatCAMApp.py

@@ -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
 
 
         """
         """