Skip to content

Commit 1eb2ae2

Browse files
Merge pull request #285 from Oxyo78/patch-1
Update serial_scanner.py
2 parents 7d60ac7 + db79f94 commit 1eb2ae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serial_scanner.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def ListAvailablePorts():
3838
AvailablePorts.append('/dev/ttyUSB'+str(i))
3939
ser.close()
4040
else:
41-
print '''This method was developed only for linux and windows
42-
the current platform isn't recognised'''
41+
print('''This method was developed only for linux and windows
42+
the current platform isn't recognised''')
4343
if len(AvailablePorts) == 0:
4444
print("NO port in use")
4545
return 0

0 commit comments

Comments
 (0)