extend unkown color error message

This commit is contained in:
Marc Brückner 2020-08-04 12:24:58 +02:00 committed by GitHub
parent 23c17e66bf
commit ade981784c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ def get_color_hex(input, pad=False):
try:
output = [_color_hex[input[i:i + 2]] for i in range(0, len(input), 2)]
except KeyError:
print("Unknown color specified")
print(f"Unknown color specified: {input}")
output = [color_default]
return output