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

start to convert goodwatch.py to python3 for #131 #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tahnok
Copy link
Contributor

@tahnok tahnok commented Nov 2, 2019

I don't have a goodwatch to test this with, but python parses it without complaint

@travisgoodspeed
Copy link
Owner

Thanks for the PR, and email me your shipping address if you'd like to PCBs shipped your way.

This PR takes care of the print() difference, but python3-serial cannot accept strings for transactions. Instead it requires bytes, so the code fails when attempting to do transactions.

@travisgoodspeed
Copy link
Owner

We could merge this if the first line kept the parser as python2, as it helps toward compatibility but doesn't quite provide it. 98a04fa used that strategy.

@tahnok tahnok changed the title convert goodwatch.py to python3 for #131 start to convert goodwatch.py to python3 for #131 Nov 3, 2019
@tahnok
Copy link
Contributor Author

tahnok commented Nov 3, 2019

Thank you for the PCB offer, but I have an order in to a fab already.

I've updated to keep the parser as python2 which should make a second PR to use bytes instead of strings easier to look over

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