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

[PATCH] warn instead of print for default color black message #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ruxi
Copy link

@ruxi ruxi commented Mar 2, 2023

Per guidance on issue #18, I made changes to error_handling.check to handle both error exception and warnings. The single stray print statement in colors.py has been changed to check to be consistent with the rest of the package. I ran the functional_tests_logomaker.py script - everything passed.

What does this change do?

"default color black" message is redirected to stderr instead of stdout. Users can use a one-liner from the warnings module to suppress this output which is useful for report generation.

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.

1 participant