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

Booleans are dumped as integers #46

Closed
Yura52 opened this issue Jan 11, 2021 · 3 comments
Closed

Booleans are dumped as integers #46

Yura52 opened this issue Jan 11, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@Yura52
Copy link

Yura52 commented Jan 11, 2021

Hi! Thank you for the nice wrapper! Just noticed that the type is not preserved for booleans, although it does not affect my workflow.

>>> import pytomlpp as toml
>>> toml.dumps({'x': True})
'x = 1'

python==3.8.5
pytomlpp==0.3.4

@bobfang1992
Copy link
Owner

Thanks! I will take a look and get back to you.

@bobfang1992 bobfang1992 added the bug Something isn't working label Jan 11, 2021
@bobfang1992
Copy link
Owner

Hi this is fixed by my last commit and I am releasing a new version now. Please do let me know if you have further questions

@Yura52
Copy link
Author

Yura52 commented Jan 12, 2021

Thank you for the quick reply, I've updated the package and the problem is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants