command line tool: KeyError when specifying Windows COM port with -p switch
### Environment Windows 10 64 bit, Python 3.7.3 64 bit. Two connected RSS2I devices. ``` rss2i -a getid ``` returns ``` rss2i: Detecting connected devices... [10, 3] Device 10 Hardware Rev. B; onb. antenna Firmware v1.0.0 @ COM3 Device 03 Hardware Rev. B; onb. antenna Firmware v1.0.0 @ COM4 rss2i: Disconnecting devices...ok ``` ### Reproduce Run ``` rss2i -p COM4 getid ``` analogous to the above situation. ### Actual Result ``` [3] rss2i: Disconnecting devices...ok Traceback (most recent call last): File "C:\Python\Scripts\rss2i.py", line 2333, in <module> main() File "C:\Python\Scripts\rss2i.py", line 2316, in main args.func(args) File "C:\Python\Scripts\rss2i.py", line 722, in get_id response[4], _openSerialAddresses[devID])) KeyError: 3 ``` ### Expected result ``` [3] Device 03 Hardware Rev. B; onb. antenna Firmware v1.0.0 @ COM4 rss2i: Disconnecting devices...ok ```
issue