Fix issue #248 where set_sys command returned failure feedback even on command success.

This commit is contained in:
mquezada
2018-05-17 18:28:58 -04:00
parent a9a4ec75db
commit cd28ff9fdd

View File

@@ -66,8 +66,7 @@ class TclCommandSetSys(TclCommand.TclCommand):
pass
self.app.defaults[param] = value
self.app.propagate_defaults()
self.raise_tcl_error("No such system parameter \"{}\".".format(param))
else:
self.raise_tcl_error("No such system parameter \"{}\".".format(param))