fix error when inserting version=1

This commit is contained in:
2025-08-19 11:00:53 +02:00
parent 991236fdca
commit f34735b7ae

View File

@@ -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')