Skip to content

Commit

Permalink
Merge pull request #254 from QWander/fix_physical_type
Browse files Browse the repository at this point in the history
physical_type bug fix
  • Loading branch information
andlaus authored Jan 16, 2024
2 parents 9d40155 + 0a8d2ba commit 496ebe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/dataobjectproperty.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def from_et(et_element: ElementTree.Element,
physical_constr = None
if (physical_constr_elem := et_element.find("PHYS-CONSTR")) is not None:
physical_constr = InternalConstr.from_et(
physical_constr_elem, internal_type=diag_coded_type.base_data_type)
physical_constr_elem, internal_type=physical_type.base_data_type)

return DataObjectProperty(
diag_coded_type=diag_coded_type,
Expand Down

0 comments on commit 496ebe5

Please sign in to comment.