diff --git a/src/srx_caproto_iocs/zebra/caproto_ioc.py b/src/srx_caproto_iocs/zebra/caproto_ioc.py index 1f39217..0f2b913 100644 --- a/src/srx_caproto_iocs/zebra/caproto_ioc.py +++ b/src/srx_caproto_iocs/zebra/caproto_ioc.py @@ -163,7 +163,7 @@ async def _get_current_dataset( # # pvobject = pvobjects[0] # ret = await pvobject.read() - if self.dev_type == DevTypes.ZEBRA: + if self.dev_type.value == DevTypes.ZEBRA.value: pvnames = ["enc1", "enc2", "enc3", "zebra_time"] else: pvnames = ["i0", "im", "it", "sis_time"]