Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Labels:
-
Story Points:0
-
Epic Link:
-
Sprint:TSSW Sprint - Apr 26 - May 10
-
Team:Telescope and Site
-
Urgent?:No
Description
salobj.CscCommander tries to use the bool function to handle command arguments, which results the argument always treated as true. Preferably use a dict of values (e.g. 0/f/1/t, but a simpler option is to use bool(int(arg)).
Pull request: https://github.com/lsst-ts/ts_salobj/pull/190