diff --git a/scripts/wk/std.py b/scripts/wk/std.py index ac197b67..cd5e9dc1 100644 --- a/scripts/wk/std.py +++ b/scripts/wk/std.py @@ -738,9 +738,9 @@ def color_string(strings, colors, sep=' '): msg = [] # Convert to tuples if necessary - if isinstance(strings, str): + if isinstance(strings, (str, pathlib.Path)): strings = (strings,) - if isinstance(colors, str): + if isinstance(colors, (str, pathlib.Path)): colors = (colors,) # Build new string with color escapes added