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

How to check the value of a key without an equal sign #98

Closed
minhhn0205 opened this issue Oct 13, 2020 · 1 comment
Closed

How to check the value of a key without an equal sign #98

minhhn0205 opened this issue Oct 13, 2020 · 1 comment

Comments

@minhhn0205
Copy link

Hi,
I have a config.ini file with values of Key2 and Key3 not yet set:
ini-1

I'm trying to validate the ini file, if the session, key, and value information is invalid it will output an error and stop the node-red application.
I'm on windows, case that no '=' after Key2 the ini node has given it a value of true.
Is it expected behavior?
I cannot judge whether the value of Key2 that was set from the beginning is true like Key4 or if the input error has no = but the given value is true.
ini-2

@minhhn0205 minhhn0205 changed the title [QUESTION] <title> How to check the value of a key without an equal sign Oct 13, 2020
@wraithgar
Copy link
Member

This would have to be a new flag to tell ini to parse key-only lines differently. If this is something you need please feel free to submit a new feature PR.

This issue was closed.
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

No branches or pull requests

2 participants