fixed color
This commit is contained in:
parent
f34ac3b47f
commit
6001cf76ea
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ def color_random( color ):
|
||||||
global context
|
global context
|
||||||
m = mode(color)
|
m = mode(color)
|
||||||
if m == 8:
|
if m == 8:
|
||||||
color_name = random.choice(context["colormaps"]["random"])
|
color_name = random.choice(list(context["colormaps"]["random"]))
|
||||||
color_code = context["colors"][color_name]
|
color_code = context["colors"][color_name]
|
||||||
color_code = str(30 + color_code)
|
color_code = str(30 + color_code)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue