Update slic/utils/hastyepics.py
Run CI Tests / test (push) Successful in 1m9s

This commit is contained in:
2025-08-03 18:27:03 +02:00
parent 256627af18
commit 88089e1f37
+5
View File
@@ -20,12 +20,17 @@ class Motor(epics.Motor):
raise MotorException("must supply motor name")
if name.endswith('.VAL'):
print (name)
name = name[:-4]
print (name)
if name.endswith('.'):
print (name)
name = name[:-1]
print (name)
self._prefix = name
print(self._prefix)
Device.__init__(self, name, delim='.',
attrs=self._init_list,
timeout=timeout)