Update raspi-blinka.py
fixes a "< operator cannot be used to compare NonType with int" error on a RPI-Zero-W
This commit is contained in:
parent
0445056459
commit
d262dedd1f
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ Raspberry Pi and installs Blinka
|
||||||
default_python = 0
|
default_python = 0
|
||||||
if not shell.prompt("Continue?"):
|
if not shell.prompt("Continue?"):
|
||||||
shell.exit()
|
shell.exit()
|
||||||
elif default_python_version() < 3:
|
elif int(default_python_version()) < 3:
|
||||||
shell.warn("WARNING Default System python version is {}. It will be updated to Version 3.".format(default_python_version(False)))
|
shell.warn("WARNING Default System python version is {}. It will be updated to Version 3.".format(default_python_version(False)))
|
||||||
default_python = 2
|
default_python = 2
|
||||||
if not shell.prompt("Continue?"):
|
if not shell.prompt("Continue?"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue