From 2e51c1e9cd00aa404d426fe291da96c8423b2296 Mon Sep 17 00:00:00 2001 From: Kamil Sopko Date: Thu, 17 Mar 2016 10:54:01 +0100 Subject: [PATCH] hide showing 'None' if command end sucessfully --- FlatCAMApp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 5764f33d..263580fe 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -698,7 +698,8 @@ class App(QtCore.QObject): try: result = self.tcl.eval(str(text)) - self.shell.append_output(result + '\n') + if result!='None': + self.shell.append_output(result + '\n') except Tkinter.TclError, e: #this will display more precise answer if something in TCL shell fail result = self.tcl.eval("set errorInfo")