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

This commit is contained in:
2025-08-03 16:41:16 +02:00
parent bde9ca3494
commit 4d768668f5
+3 -2
View File
@@ -19,10 +19,11 @@ class Motor(epics.Motor):
if name is None:
raise MotorException("must supply motor name")
if name.endswith('.VAL'):
name = name[:-4]
if name.endswith('.'):
name = name[:-1]
if name.endswith('.VAL'):
name = name[:-4]
self._prefix = name
Device.__init__(self, name, delim='.',