diff options
| author | Scott <[email protected]> | 2022-01-26 21:35:20 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-26 21:35:20 -0800 |
| commit | e6f32fdd9b373dfcd100c7accb41f57d83c2f0a1 (patch) | |
| tree | eea4985bc43238fbd070c783441f08988f581973 /ansi.py | |
| parent | 36fea7f15ed17150691b5b3ead75450e575229ef (diff) | |
Ahem. Still running black?
Diffstat (limited to 'ansi.py')
| -rwxr-xr-x | ansi.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1773,9 +1773,7 @@ def fg( green = 0 if blue is None: blue = 0 - if ( - is_16color(red) and is_16color(green) and is_16color(blue) - ) or force_16color: + if (is_16color(red) and is_16color(green) and is_16color(blue)) or force_16color: logger.debug("Using 16-color strategy") return fg_16color(red, green, blue) if ( @@ -1878,9 +1876,7 @@ def bg( green = 0 if blue is None: blue = 0 - if ( - is_16color(red) and is_16color(green) and is_16color(blue) - ) or force_16color: + if (is_16color(red) and is_16color(green) and is_16color(blue)) or force_16color: logger.debug("Using 16-color strategy") return bg_16color(red, green, blue) if ( |
