DellEMC S6100: Decode bytearray to string in eeprom plugin (#6093)

Make Dell S6100 eeprom plugin handle bytearray returned by TlvInfoDecoder
This commit is contained in:
Arun Saravanan Balachandran 2020-12-02 20:09:39 +00:00 committed by GitHub
parent 68464381bc
commit 2610ad8453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,4 +28,4 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
# 'results' is a list containing 3 elements, type (int), length (int),
# and value (string) of the requested TLV
return results[2]
return results[2].decode('ascii')