log-search: Fix precedence in no-color case.

This commit is contained in:
Alex Vandiver
2023-02-22 18:29:54 +00:00
committed by Tim Abbott
parent 0019ce639c
commit 95abcffb75

View File

@@ -448,7 +448,7 @@ def print_line(
url,
]
print(color + " ".join([p for p in parts if p is not None]) + ENDC if use_color else "")
print(color + " ".join([p for p in parts if p is not None]) + (ENDC if use_color else ""))
if __name__ == "__main__":