Skip to content
Snippets Groups Projects
Commit d6314be9 authored by Milan Prica's avatar Milan Prica :skier:
Browse files

Merge branch 'master' of gitlab.elettra.eu:cs/ds/iris-diaphragm

parents 885e9dd7 3229aaf2
Branches master
Tags 1.0.2
No related merge requests found
......@@ -149,7 +149,7 @@ class IrisDiaphragm (PyTango.Device_4Impl):
self.write_position(new_aperture)
def is_Aperture_allowed(self, req_type):
return self.get_state() in (PyTango.DevState.ON,)
return req_type is PyTango.AttReqType.READ_REQ or self.get_state() in (PyTango.DevState.ON,)
def read_StepSize(self, attr):
# self.debug_stream("In read_StepSize()")
......
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