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

Improve util.parse_enum usability #65

Merged
merged 1 commit into from
May 19, 2022
Merged

Improve util.parse_enum usability #65

merged 1 commit into from
May 19, 2022

Conversation

PortableProgrammer
Copy link
Owner

util.parse_enum assumed everything sent to it was a list of enums, which caused issues when sending things like LOGLEVEL and any of the COLOR variables, since those are not lists. Added value_is_list to allow the function to return a single value instead of a list that would then need to be parsed by the caller.

@PortableProgrammer PortableProgrammer merged commit 8726506 into main May 19, 2022
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