Skip to content

Commit 306f3fd

Browse files
committed
fixes #168
1 parent edea708 commit 306f3fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apstools/migration/spec_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class SpecDeviceBase(object):
2121
def __init__(self, config_text):
2222
"""parse the line from the SPEC config file"""
2323
# VM_EPICS_M1 = 9idcLAX:m58:c0: 8
24-
self.name, args = config_text.split("=")
24+
nm, args = config_text.split("=")
25+
self.name = nm.strip()
2526
prefix, num_channels = args.split()
2627
self.prefix = prefix
2728
self.index = None

0 commit comments

Comments
 (0)