Skip to content

Commit fad6cf2

Browse files
committed
fix print error call in a serial exception
1 parent cbdbe07 commit fad6cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def establish_connection(port):
218218
link.open()
219219
except pyserial.serialutil.SerialException as e:
220220
if('could not open port' in str(e)):
221-
txt.print(serialError_noaccess)
221+
txt.print(errors.serialError_noaccess)
222222
status_color.remove()
223223
return
224224

0 commit comments

Comments
 (0)