Commit 8523fa16 authored by Juergen Hasch's avatar Juergen Hasch Committed by GitHub

Merge pull request #9 from juhasch/fix/type

Typo
parents 10098f37 94b7133c
......@@ -145,7 +145,7 @@ class BBIO_base:
for port in ports:
if len(port) == 3 and '0403:6001' in port[2]:
return port[0]
if len(port) == 3 and 'PID=0403,VID=6001' in port[2]:
if len(port) == 3 and 'VID_0403+PID_6001' in port[2]:
return port[0]
else:
ports = list_ports.comports()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment