Parcourir la source

- added a minor change to the ListSys Tcl command

Marius Stanciu il y a 5 ans
Parent
commit
b11ac0ca4d
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 1 0
      README.md
  2. 3 1
      tclCommands/TclCommandListSys.py

+ 1 - 0
README.md

@@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
 6.04.2020 
 
 - added key shortcuts (arrow up/down) that will select the objects in the Project tab if the focus is in that tab
+- added a minor change to the ListSys Tcl command
 
 5.04.2020 
 

+ 3 - 1
tclCommands/TclCommandListSys.py

@@ -60,4 +60,6 @@ class TclCommandListSys(TclCommand):
             argument = args['selection']
             return str([k for k in self.app.defaults.keys() if str(k).startswith(str(argument))])
         else:
-            return str([*self.app.defaults])
+            ret_val = list(self.app.defaults.keys())
+            return str(ret_val)
+            # return str([*self.app.defaults])