Skip to content

Conversation

@vascotenner
Copy link
Contributor

With this additions, find port can be imported as module. Furthermore I removed unused imports and code.

Copy link
Owner

@dhylands dhylands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to run this on my dev machine and got this error:

581 >./find_port.py
Traceback (most recent call last):
  File "./find_port.py", line 143, in <module>
    main()
  File "./find_port.py", line 136, in main
    if is_usb_serial(device, **args):
TypeError: is_usb_serial() argument after ** must be a mapping, not Namespace

I tried using both python2 and python3

@vascotenner
Copy link
Contributor Author

I have fixed this bug and tested it in both python2 and 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants