Skip to content

Commit

Permalink
Merge pull request #366 from vshekar/extend-server-command-whitelist
Browse files Browse the repository at this point in the history
Added more functions to the whitelist
  • Loading branch information
vshekar authored Mar 14, 2024
2 parents 5a3feed + d50a970 commit 649fd6b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion daq_main_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,17 @@ def setGovState(state):
setSlit1Y,
testRobot,
setGovState,
move_omega]
move_omega,
lockGUI,
unlockGUI,
DewarAutoFillOff,
DewarAutoFillOn,
logMe,
unlatchGov,
backoffDetector,
enableMount,
robotOn
]

whitelisted_functions: "Dict[str, Callable]" = {
func.__name__: func for func in functions
Expand Down

0 comments on commit 649fd6b

Please sign in to comment.