From 2f793741d3823cb06dfdf6c47c21ccb78bbf83b5 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Thu, 16 Dec 2021 13:19:30 -0800 Subject: [PATCH] station_profile.modify: parse radio name using name_to_eid, and use the parsed name to set radio data Signed-off-by: Matthew Stidham --- py-json/station_profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py-json/station_profile.py b/py-json/station_profile.py index 62409eac..a1cd5a88 100644 --- a/py-json/station_profile.py +++ b/py-json/station_profile.py @@ -557,7 +557,8 @@ class StationProfile: station_shelf = station_eid[0] station_resource = station_eid[1] station_port = station_eid[2] - self.add_sta_data["radio"] = radio + radio_eid = self.local_realm.name_to_eid(radio) + self.add_sta_data["radio"] = radio_eid[2] self.add_sta_data["shelf"] = station_shelf self.add_sta_data["resource"] = station_resource self.add_sta_data["sta_name"] = station_port