Skip to content

Commit

Permalink
Update serial_scanner.py
Browse files Browse the repository at this point in the history
Missing the () from print line 41
  • Loading branch information
YohanVienne committed Jan 12, 2018
1 parent f079291 commit db79f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serial_scanner.py
Expand Up @@ -38,8 +38,8 @@ def ListAvailablePorts():
AvailablePorts.append('/dev/ttyUSB'+str(i))
ser.close()
else:
print '''This method was developed only for linux and windows
the current platform isn't recognised'''
print('''This method was developed only for linux and windows
the current platform isn't recognised''')
if len(AvailablePorts) == 0:
print("NO port in use")
return 0
Expand Down

0 comments on commit db79f94

Please sign in to comment.