From fae9875dd896762c156dc18b1e38985f136ec639 Mon Sep 17 00:00:00 2001 From: Kamil Sopko Date: Sun, 10 Apr 2016 11:09:26 +0200 Subject: [PATCH] remove unknown workaround --- FlatCAMApp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index b2ee9745..020ec593 100644 --- a/FlatCAMApp.py +++ b/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