Explorar el Código

- allow the usage of lowercase units names (like mm or in) when used in
the Tcl command set_sys

Marius Stanciu hace 7 años
padre
commit
3fae21622a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      tclCommands/TclCommandSetSys.py

+ 3 - 1
tclCommands/TclCommandSetSys.py

@@ -55,7 +55,9 @@ class TclCommandSetSys(TclCommand.TclCommand):
             "false": False,
             "False": False,
             "true": True,
-            "True": True
+            "True": True,
+            "mm": "MM",
+            "in": "IN"
         }
 
         if param in self.app.defaults: