Skip to content

Commit

Permalink
possible fix for issue #786 (#808)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduard Bröcker <conuslt@eduard-broecker.de>
  • Loading branch information
ebroecker and Eduard Bröcker committed Jul 15, 2024
1 parent 261f8c3 commit e7ce2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canmatrix/formats/arxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ def dump(dbs, f, **options):
compu_int_to_phys = create_sub_element(
compu_method, 'COMPU-INTERNAL-TO-PHYS')
compu_scales = create_sub_element(compu_int_to_phys, 'COMPU-SCALES')
for value in sorted(signal.values, key=lambda x: int(x, 0)):
for value in sorted(signal.values):
compu_scale = create_sub_element(compu_scales, 'COMPU-SCALE')
desc = create_sub_element(compu_scale, 'DESC')
l2 = create_sub_element(desc, 'L-2')
Expand Down

0 comments on commit e7ce2aa

Please sign in to comment.