mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-02 00:19:47 +02:00
fix to_bool params
This commit is contained in:
parent
83a173204a
commit
53534716af
|
@ -21,7 +21,7 @@ def _should_do_markup():
|
||||||
|
|
||||||
py_colors = os.environ.get("PY_COLORS", None)
|
py_colors = os.environ.get("PY_COLORS", None)
|
||||||
if py_colors is not 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"
|
return sys.stdout.isatty() and os.environ.get("TERM") != "dumb"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user