use hastyepics

This commit is contained in:
2023-12-11 11:17:28 +01:00
parent 1e54857ae0
commit 81fe293f04
+2 -2
View File
@@ -1,4 +1,4 @@
from epics import get_pv
from slic.utils.hastyepics import get_pv as PV
from slic.utils.printing import printable_dict
from .adjustable import Adjustable
@@ -7,7 +7,7 @@ class PVEnumAdjustable(Adjustable):
def __init__(self, pvname, ID=None, name=None, units=None, internal=False):
self.pvname = pvname
self.pv = pv = get_pv(pvname)
self.pv = pv = PV(pvname)
ID = ID or pvname
super().__init__(ID, name=name, units=units, internal=internal)