fix error when inserting version=1
This commit is contained in:
1 parent
991236fdca
commit
f34735b7ae
1 file changed
-1
@@ -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