hide showing 'None' if command end sucessfully

This commit is contained in:
Kamil Sopko
2016-03-17 10:54:01 +01:00
parent cd6700152c
commit 2e51c1e9cd

View File

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