Skip to content

Conversation

@M0dEx
Copy link
Contributor

@M0dEx M0dEx commented Jan 17, 2024

This PR fixes #321, where substitutions are not correctly resolved when nested in subsections and having dependents from another config file.

Comment on lines -664 to +665
if not isinstance(resolved_value, ConfigValues):

if resolved_value:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for this specific check?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After I've removed this check, the parsing succeeds in some cases, where it previously failed, but fails in some cases, where it succeeded previously.

@darthbear darthbear merged commit 2af3400 into chimpler:master May 27, 2024
@darthbear
Copy link
Member

Thanks for your contribution @M0dEx! Released new version 0.3.61

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

Successfully merging this pull request may close these issues.

Substitution fails for nested sections

2 participants