-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fixing colorama global init in print_result #30
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR, two things:
|
Hello, I have a question : should I also add the deinit function in this file (https://github.com/nornir-automation/nornir_utils/blob/master/nornir_utils/plugins/processors/print_result.py). |
I am starting to think we should try a different approach to make this more robust. I think the main issue is due to the kwargs being passed to init: init(autoreset=True, strip=False) I suspect that if we remove |
Hello, |
I think we should investigate further and fix the issue completely instead of trying to workaround it. What I think we need to do is add the reset to all prints, for instance: from:
to:
the only pain is we will have to add to all |
Same behaviour with |
Fixing issue #29
Hello,
Here we proposed a fix for the issue 29.
Thanks and have a great day!
Best regards,
geg347