We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d60ac7 + db79f94 commit 1eb2ae2Copy full SHA for 1eb2ae2
serial_scanner.py
@@ -38,8 +38,8 @@ def ListAvailablePorts():
38
AvailablePorts.append('/dev/ttyUSB'+str(i))
39
ser.close()
40
else:
41
- print '''This method was developed only for linux and windows
42
- the current platform isn't recognised'''
+ print('''This method was developed only for linux and windows
+ the current platform isn't recognised''')
43
if len(AvailablePorts) == 0:
44
print("NO port in use")
45
return 0
0 commit comments