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

Format 'stopping motor...' more neatly when wait = True #63

Open
jmsv opened this issue Jun 3, 2017 · 0 comments
Open

Format 'stopping motor...' more neatly when wait = True #63

jmsv opened this issue Jun 3, 2017 · 0 comments

Comments

@jmsv
Copy link
Owner

jmsv commented Jun 3, 2017

Format 'stopping motor...' more neatly when wait = True:

Fancy threading stuff happens when wait is True to make the method return immediately while the motor keeps spinning until the duration ends. This means that when stop is called at the end, the message printed (if verbose) is formatted badly:

Example output

In this case, the print statement prints to the Python console prompt, which shouldn't happen

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

No branches or pull requests

1 participant