update output
This commit is contained in:
parent
4b40791637
commit
26aa0bcdb6
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
from PIL import Image, ImageDraw, ImageOps
|
from PIL import Image, ImageDraw, ImageOps
|
||||||
from colour import Color
|
from colour import Color
|
||||||
|
import os.path
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
||||||
@ -25,7 +26,7 @@ def get_base_color(
|
|||||||
try:
|
try:
|
||||||
base_color = Color("#{}".format(color_string))
|
base_color = Color("#{}".format(color_string))
|
||||||
except:
|
except:
|
||||||
print("Not a valid color expression: {}".format(color_string))
|
print("Invalid color expression: {}".format(color_string))
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
return base_color
|
return base_color
|
||||||
|
Loading…
Reference in New Issue
Block a user