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

Refactor scene_conf icon retrieval to use get() method #55

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

hugobloem
Copy link
Owner

This pull request refactors the scene_conf icon retrieval to use the get() method instead of checking if the "icon" key exists in the scene_conf dictionary. This improves code readability and reduces the chance of a KeyError.

@hugobloem hugobloem merged commit dbc4bdd into main Feb 21, 2024
6 checks passed
@hugobloem hugobloem deleted the refactor-if-statement branch February 21, 2024 18:15
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.

1 participant