Commit abf5baaa authored by Cyril Guilloud's avatar Cyril Guilloud Committed by Sebastien Petitdemange
Browse files

Do not raise exception when trying to open an already open shutter.

parent ba511c5f
......@@ -137,7 +137,7 @@ class TangoShutter(BaseShutter):
state = self.state
if in ("OPEN", "RUNNING"):
log_warning(self, "Already open, command ignored")
if state == TangoShutterState.CLOSED:
elif state == TangoShutterState.CLOSED:
self._wait(TangoShutterState.OPEN, timeout)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment