From ce419e21255a9ecf40857d6f253d8aae5e2a72ec Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 8 Oct 2019 15:58:08 +0200 Subject: [PATCH] fix to_bool arguments --- ansibledoctor/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansibledoctor/Utils.py b/ansibledoctor/Utils.py index 2e4c32b..3e8a5fc 100644 --- a/ansibledoctor/Utils.py +++ b/ansibledoctor/Utils.py @@ -24,7 +24,7 @@ def to_bool(string): def _should_do_markup(): py_colors = os.environ.get("PY_COLORS", None) if py_colors is not None: - return to_bool(py_colors, strict=False) + return to_bool(py_colors) return sys.stdout.isatty() and os.environ.get("TERM") != "dumb"