From 2cc3d811c58ec0c25a135626b5791c99fdb7b14c Mon Sep 17 00:00:00 2001 From: Kamil Sopko Date: Tue, 1 Mar 2016 18:22:57 +0100 Subject: [PATCH] remove duplicity when print error --- FlatCAMApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 78f606c1..e87d5beb 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -662,7 +662,7 @@ class App(QtCore.QObject): #this will display more precise answer if something in TCL shell fail result = self.tcl.eval("set errorInfo") self.log.error("Exec command Exception: %s" % (str(e)+ '\n' + result + '\n')) - self.shell.append_error('ERROR: ' + str(e) + '\n' + result + '\n') + self.shell.append_error('ERROR: ' + result + '\n') #show error in console and just return return