Skip to content

Commit

Permalink
Fix MSNET script again
Browse files Browse the repository at this point in the history
  • Loading branch information
michamos committed Sep 28, 2023
1 parent 4b2042d commit 73c7e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/msnet-add-id/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def check(record, logger, state):
def do(record, logger, state):
record.setdefault(ELEMENT, []).append(
{
"value": MSNET_IDS[record.get_value("control_number")],
"value": MSNET_IDS[str(record["control_number"])],
"schema": "MSNET",
}
)
Expand Down

0 comments on commit 73c7e08

Please sign in to comment.