Skip to content

Commit

Permalink
[Edgecore][Minipack] Fix wrong system eeprom data of 0x25 field
Browse files Browse the repository at this point in the history
Signed-off-by: brandonchuang <[email protected]>
  • Loading branch information
brandonchuang committed Apr 21, 2023
1 parent e355126 commit 302b159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __parse_output(self, decode_output):
for line in lines:
try:
match = re.search(
'(0x[0-9a-fA-F]{2})([\s]+[\S]+[\s]+)([\S]+)', line)
'(0x[0-9a-fA-F]{2})([\s]+[\S]+[\s]+)(.+)', line)
if match is not None:
idx = match.group(1)
value = match.group(3).rstrip('\0')
Expand Down

0 comments on commit 302b159

Please sign in to comment.