Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find_port as module #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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