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

Fix issue when using dictionary function #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asheidan
Copy link

@asheidan asheidan commented Oct 2, 2023

Previously, after the function was evaluated, the rest of the loop merging the dicts containing the descriptions continued using V instead of the return value of the function.

That could probably cause multiple issues, but the one guaranteed issue was when the returned dictionary contained only plain descriptions and no function (plain string instead of list).

If you are using a dictionary function and see
single-letter-descriptions where the letter is the second letter of the description, this probably fixes it.

I'm using this fix myself, but I'm open to other ways of solving this issue.

Previously after the function was evaluated the rest of the loop merging
the dicts containing the descriptions continued using V instead of the
return value of the function.

That could probably cause multiple issues, but the one guaranteed issue
was when the returned dictionary contained only plain descriptions and
no function (plain string instead of list).

If you are using a dictionary function and see
single-letter-descriptions where the letter is the second letter of the
description, this probably fixes it.
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.

None yet

1 participant