Skip to content

Commit 792750a

Browse files
author
Mike Clement
committed
atcommander: fixed param text output for Python3
1 parent 61129df commit 792750a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/tools/atcommander.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_board_version(self):
193193
def get_params_text(self):
194194
res = self.__query(ATCommandSet.AT_SHOW_PARAM, ['(S0:.*S14:.*)\r\n'])
195195
if res:
196-
return res.group(0)
196+
return res.group(0).decode('utf-8')
197197
else:
198198
return "** Could not access parameters **"
199199

0 commit comments

Comments
 (0)