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

Avoid using string (raw) values when creating config #56

Closed
pylipp opened this issue Dec 30, 2019 · 1 comment
Closed

Avoid using string (raw) values when creating config #56

pylipp opened this issue Dec 30, 2019 · 1 comment

Comments

@pylipp
Copy link
Owner

pylipp commented Dec 30, 2019

See

custom_value = custom_config.get(section, item, raw=True)
.

This requires config values to be converted when using them.

@pylipp
Copy link
Owner Author

pylipp commented Dec 30, 2019

Possible alternative to built-in configparse module: https://configobj.readthedocs.io/en/latest/index.html

@pylipp pylipp closed this as completed in 10d0f99 Jan 2, 2020
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