Skip to content

Commit

Permalink
Merge pull request #1083 from lnls-sirius/fix-manname
Browse files Browse the repository at this point in the history
fix manname bug
  • Loading branch information
xresende authored Apr 29, 2024
2 parents 6d018d6 + 992b9fc commit 9659274
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions siriuspy/siriuspy/devices/pwrsupply.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def __init__(self, devname, auto_monitor_mon=False, props2init='all'):
name = devname.substitute(dis='MA')
if name.dev == 'B1B2' or (name.sec == 'BO' and name.dev == 'B'):
maname = name.substitute(idx='')
else:
maname = name
self._normalizer = _NormFactory.create(maname)
except:
self._normalizer = None
Expand Down

0 comments on commit 9659274

Please sign in to comment.