Skip to content

Commit

Permalink
fix #149 introduced in #147
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowMB authored and formatc1702 committed Aug 12, 2020
1 parent 84edda6 commit 19b82e9
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 19b82e9

Please sign in to comment.