diff options
Diffstat (limited to 'mpm/python/usrp_hwd.py')
-rwxr-xr-x | mpm/python/usrp_hwd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_hwd.py b/mpm/python/usrp_hwd.py index 48af28d36..90f865da0 100755 --- a/mpm/python/usrp_hwd.py +++ b/mpm/python/usrp_hwd.py @@ -123,8 +123,8 @@ def main(): log.info("Spawning periph manager...") mgr = periph_manager(args) discovery_info = { - "type": mgr._get_device_info()["type"], - "serial": mgr._get_device_info()["serial"] + "type": mgr.get_device_info().get("type", "n/a"), + "serial": mgr.get_device_info().get("serial", "n/a") } if args.init_only: mgr.init(args.default_args) |