Draft: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:36:38 -05:00
parent 84e86793f0
commit 68a027cf94
5 changed files with 6 additions and 6 deletions

View File

@@ -107,7 +107,7 @@ def display_external(internal_value,
uom = unit
internal_value = q.getValueAs(unit)
conversion = 1
except:
except Exception:
conversion = q.getUserPreferred()[1]
uom = q.getUserPreferred()[2]
elif dim == 'Angle':