diff options
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 2b4b297ed..a1c5e4d4a 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -815,7 +815,10 @@ class PeriphManagerBase(object): All key/value pairs are string -> string """ - return {k: str(v) for k, v in iteritems(self._eeprom_head)} + return { + k: v.decode() if isinstance(v, bytes) else str(v) + for k, v in iteritems(self._eeprom_head) + } def set_mb_eeprom(self, eeprom_vals): """ |