You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Weight(5, 200, 'USA') => instead of weight being 200, it was 205 instead
-if weight_range is None:
+if weight is not None:
because when weight is provided, we really don't want the else case triggering, because instead of using the provided weight it calculates weight using the approximation method instead
The text was updated successfully, but these errors were encountered:
I was testing this library out and tried rebuilding a Weight object from it's components (weightRange, weight, and format)
It looks like this line: https://github.com/rechner/py-aamva/blob/master/aamva/aamva.py#L1647 is incorrect and causes the
weight
field to use an approximated value when the exactweight
was providedWeight(5, 200, 'USA') => instead of weight being 200, it was 205 instead
because when weight is provided, we really don't want the else case triggering, because instead of using the provided
weight
it calculates weight using the approximation method insteadThe text was updated successfully, but these errors were encountered: