Skip to content

Commit 421fd32

Browse files
committed
case-insensitive nocolor check
1 parent 40841dc commit 421fd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipyparallel/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _plaintext(self) -> str:
168168
else:
169169
colors = ip.colors
170170

171-
if colors == "NoColor":
171+
if colors.lower() == "nocolor":
172172
out = normal = ""
173173
else:
174174
out = _TermColors.Red

0 commit comments

Comments
 (0)