Skip to content

Commit

Permalink
fix wireviz#149 introduced in wireviz#147
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowMB committed Aug 12, 2020
1 parent 84edda6 commit d8d6d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/wv_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def get_color_hex(input, pad=False):
padded = input

try:
output = [_color_hex[padded[i:i + 2]] for i in range(0, len(input), 2)]
output = [_color_hex[padded[i:i + 2]] for i in range(0, len(padded), 2)]
except KeyError:
print(f'Unknown color specified: {input}')
output = [color_default]
Expand Down

0 comments on commit d8d6d57

Please sign in to comment.