Commit 098ad8eb authored by Laurent Claustre's avatar Laurent Claustre

Fixed None and attribute name missmatch

parent f9462b0f
Pipeline #11439 passed with stages
in 6 minutes and 55 seconds
......@@ -59,7 +59,7 @@ class Frelon(PyTango.Device_4Impl):
self.__ImageMode = {'FRAME TRANSFER': FrelonHw.FTM,
'FULL FRAME': FrelonHw.FFM}
self.__RoiMode = {'NONE' : FrelonHw.None,
self.__RoiMode = {'NONE' : 0,
'SLOW' : FrelonHw.Slow,
'FAST' : FrelonHw.Fast,
'KINETIC' : FrelonHw.Kinetic}
......@@ -108,7 +108,7 @@ class Frelon(PyTango.Device_4Impl):
return AttrHelper.get_attr_string_value_list(self, attr_name)
def __getattr__(self,name) :
obj = _FrelonAcq if name == 'E2VCorrectionActive' \
obj = _FrelonAcq if name.endswith("e2v_correction") \
else _FrelonAcq.getFrelonCamera()
return AttrHelper.get_attr_4u(self, name, obj)
......
Markdown is supported
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