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 wrong ordering of contextmanagers #976

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

rytilahti
Copy link
Owner

The context managers are executed in the order, this ensures that FileNotFoundError is suppressed correctly.

Fixes #972

@rytilahti rytilahti added the bug label Mar 17, 2021
@rytilahti rytilahti merged commit 4489f7d into master Mar 17, 2021
@rytilahti rytilahti deleted the fix/mirobo/non_existing_state_file branch March 17, 2021 17:40
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant