Skip to content

Commit bd495f6

Browse files
committed
Fix another bug with how hex color codes that look like decimal numbers are handled
1 parent e706bd2 commit bd495f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

customizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_model_metadata(custom_model_name):
7474

7575
for custom_color_name, hex_color in value.items():
7676
if isinstance(hex_color, int):
77-
hex_color_string = "%06X" % hex_color
77+
hex_color_string = "%06d" % hex_color
7878
elif isinstance(hex_color, str):
7979
hex_color_string = hex_color
8080
else:

0 commit comments

Comments
 (0)