Commit 51707558c174e035c9f841bb5bbf83ec156d7359
1 parent
376deebd
Exists in
master
removed redundant if/else statement
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
robots/little_john/telemetry/code/monitor/serialselect.py
... | ... | @@ -44,10 +44,7 @@ def selectserial(): |
44 | 44 | except: |
45 | 45 | print("Choice unrecognised: please try again:") |
46 | 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 | 48 | selection = 0 |
52 | 49 | |
53 | 50 | serialport=targetdevs[selection] | ... | ... |