This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user