Skip to content

Commit db79f94

Browse files
authored
Update serial_scanner.py
Missing the () from print line 41
1 parent f079291 commit db79f94

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)