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

Fix restart method in radiodriver.py. #504

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

Conversation

h4writer
Copy link

Restart doesn't work anymore, since _RadioDriverThread expects a rate_limit. Fixing this by saving the rate_limit and reusing it here.

Restart doesn't work anymore, since _RadioDriverThread expects a rate_limit. Fixing this by saving the rate_limit and reusing it here.
@ToveRumar ToveRumar self-requested a review January 7, 2025 15:43
Initialize rate_limit to None, for good practice
@ToveRumar
Copy link
Contributor

I just added a initialization of the rate_limit variable. Just for good measure. Otherwise it looks good. Ill approve and merge this PR.

Thank you for your contribution!!

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