fix error when inserting version=1
This commit is contained in:
@@ -31,7 +31,6 @@ def exit():
|
|||||||
try:
|
try:
|
||||||
import serial
|
import serial
|
||||||
except ImportError:
|
except ImportError:
|
||||||
version=1
|
|
||||||
if 'yes'.startswith(input('install pyserial? [y]')):
|
if 'yes'.startswith(input('install pyserial? [y]')):
|
||||||
os.system('sudo apt update')
|
os.system('sudo apt update')
|
||||||
os.system('sudo apt install python3-pip')
|
os.system('sudo apt install python3-pip')
|
||||||
|
|||||||
Reference in New Issue
Block a user