We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdfca6c commit 19262c9Copy full SHA for 19262c9
adafruit_atecc/adafruit_atecc.py
@@ -211,8 +211,8 @@ def serial_number(self):
211
serial_num[8] = temp_sn[0]
212
time.sleep(0.001)
213
# neaten up the serial for printing
214
- serial_num = hexlify(serial_num).decode("utf-8")
215
- serial_num = str(serial_num).upper()
+ serial_num = str(hexlify(serial_num), "utf-8")
+ serial_num = serial_num.upper()
216
return serial_num
217
218
def version(self):
0 commit comments