Skip to content

Commit

Permalink
fix crash with print-od script
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpdx committed May 19, 2024
1 parent b35bf85 commit 5645d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oresat_configs/scripts/print_od.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import canopen

from .. import Consts, OreSatConfig
from .._yaml_to_od import OD_DATA_TYPES
from .._yaml_to_od import STR_2_OD_DATA_TYPE

PRINT_OD = "print the object dictionary out to stdout"

Expand Down Expand Up @@ -59,7 +59,7 @@ def print_od(args: Optional[Namespace] = None) -> None:
config = OreSatConfig(args.oresat)

inverted_od_data_types = {}
for key, value in OD_DATA_TYPES.items():
for key, value in STR_2_OD_DATA_TYPE.items():
inverted_od_data_types[value] = key

arg_card = args.card.lower().replace("-", "_")
Expand Down

0 comments on commit 5645d62

Please sign in to comment.