Skip to content

Commit

Permalink
Review fix: improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Jan 30, 2025
1 parent 28db281 commit b9c2021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fprime_gds/common/loaders/json_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def construct_serializable_type(
# Construct the serializable type with list of members sorted by index
ser_type = SerializableType.construct_type(
type_name,
[struct_members[i] for i in sorted(struct_members)],
[struct_members[i] for i in sorted(struct_members.keys())],
)
self.parsed_types[type_name] = ser_type
return ser_type
Expand Down

0 comments on commit b9c2021

Please sign in to comment.