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

1/0 instead of true/false #68

Closed
maaque opened this issue May 11, 2024 · 3 comments
Closed

1/0 instead of true/false #68

maaque opened this issue May 11, 2024 · 3 comments
Labels
released Issue has been fixed

Comments

@maaque
Copy link

maaque commented May 11, 2024

Again, many thanks for the great and reliable piece of software.
Maybe I missed this topic in the docs, but It would be nice to have as return 0 or 1 instead of true and false. By doing so, it could directly feed any automation, without translating the words to 0 or 1.
May, if case there is an elegant way to do it, it should be configurable for all, or may just for few parameter

Regards
Maaque

@pvtom pvtom added the requirement Requirement label May 11, 2024
@pvtom
Copy link
Owner

pvtom commented May 12, 2024

Hi Maaque,
good idea, thank you.
I have implemented this feature with v3.23.
Please put this line into your .config:
USE_TRUE_FALSE=false
Best regards
Thomas

@pvtom pvtom added released Issue has been fixed and removed requirement Requirement labels May 12, 2024
@maaque
Copy link
Author

maaque commented May 12, 2024

Works perfectly well.

Thanks
Maaque

@pvtom
Copy link
Owner

pvtom commented May 12, 2024

:-)

@pvtom pvtom closed this as completed May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants