Commit 51707558c174e035c9f841bb5bbf83ec156d7359

Authored by Christopher Stone
1 parent 376deebd
Exists in master

removed redundant if/else statement

robots/little_john/telemetry/code/monitor/serialselect.py
@@ -44,10 +44,7 @@ def selectserial(): @@ -44,10 +44,7 @@ def selectserial():
44 except: 44 except:
45 print("Choice unrecognised: please try again:") 45 print("Choice unrecognised: please try again:")
46 else: 46 else:
47 - if os=='Windows':  
48 - print("Only found one likely serial device: " + targetdevs[0])  
49 - else:  
50 - print("Only found one likely serial device: " + targetdevs[0]) 47 + print("Only found one likely serial device: " + targetdevs[0])
51 selection = 0 48 selection = 0
52 49
53 serialport=targetdevs[selection] 50 serialport=targetdevs[selection]