Skip to content

Commit

Permalink
fix recent pint
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoys committed Mar 10, 2022
1 parent 8dc2cf9 commit d5bdd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion happi/_Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def __init__(self, *args, **kwargs):
def _getUnits(self, units):
if self.UnitRegistry:
u = self.ureg(units)
try: u = u.units.format_babel()
try: u = u.units.format_babel(locale="en")
except Exception as e: u = ""
return u
else:
Expand Down

0 comments on commit d5bdd53

Please sign in to comment.