소스 검색

remove unknown workaround

Kamil Sopko 9 년 전
부모
커밋
fae9875dd8
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      FlatCAMApp.py

+ 0 - 5
FlatCAMApp.py

@@ -762,11 +762,6 @@ class App(QtCore.QObject):
         except Tkinter.TclError, e:
             #this will display more precise answer if something in  TCL shell fail
             result = self.tcl.eval("set errorInfo")
-
-            # solve message in special tcl keywords used in wrong context as "unknown"
-            if e.message ==  'invalid command name ""':
-                result=result.replace('""','"%s"' % text.replace("\n",""))
-
             self.log.error("Exec command Exception: %s" % (result + '\n'))
             self.shell.append_error('ERROR: ' + result + '\n')
             #show error in console and just return or in test raise exception