diff --git a/scripts/wk/std.py b/scripts/wk/std.py index e98b9d5d..97c60d4a 100644 --- a/scripts/wk/std.py +++ b/scripts/wk/std.py @@ -743,6 +743,11 @@ def color_string(strings, colors, sep=' '): except TypeError: # Assuming single element passed, convert to string strings = (str(strings),) + try: + iter(colors) + except TypeError: + # Assuming single element passed, convert to string + colors = (str(colors),) # Build new string with color escapes added for string, color in itertools.zip_longest(strings, colors):