scripts: fix stm32_mem.py for python 3
Python 3 does not accept a characters string where a bytes string is needed.
This commit is contained in:
parent
8def28dee9
commit
ad6c1eb11b
|
@ -72,7 +72,7 @@ def stm32_read(dev):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def stm32_manifest(dev):
|
def stm32_manifest(dev):
|
||||||
dev.download(0, "")
|
dev.download(0, b"")
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
status = dev.get_status()
|
status = dev.get_status()
|
||||||
|
|
Loading…
Reference in New Issue