-
Notifications
You must be signed in to change notification settings - Fork 63
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
Cannot create 'default' section #80
Comments
Indeed :( This looks to be an issue in iniparse. As a workaround we could check case variations of "default" and change to "default_crudini_remove_when_writing". I'll need to look into compat issues though a bit, before doing this |
When running crudini with the
--set
flag, I'm unable to create a default section.Command:
crudini --set file.conf default name value
Result:
However, if I modify the command, it succeeeds:
crudini --set file.conf defaults name value
File contents:
If a
default
section exists, then the command seems to work just fine, but fails when creating a new file when a default section does not yet exist.The text was updated successfully, but these errors were encountered: