Fixed missing "where" in W_BADVAL3
This commit is contained in:
parent
79651eaa07
commit
ed8ae423e2
|
|
@ -159,7 +159,8 @@ def comp_match(component, ref_prefix, ref=None):
|
|||
if post:
|
||||
if "." in value:
|
||||
last_warning = W_BADVAL3
|
||||
logger.warning(W_BADVAL3 + "Malformed value: `{}` (unit split, but contains decimal point)".format(original, where))
|
||||
logger.warning(W_BADVAL3 + "Malformed value: `{}` (unit split, but contains decimal point{})".
|
||||
format(original, where))
|
||||
return None
|
||||
value = float(value)
|
||||
postValue = float(post) / (10 ** len(post))
|
||||
|
|
|
|||
Loading…
Reference in New Issue