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