From 26aa0bcdb68b81668864340433a3babc452d8c7f Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Thu, 15 Jul 2021 09:43:07 +0200 Subject: [PATCH] update output --- huepaper/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/huepaper/__init__.py b/huepaper/__init__.py index cec6350..6ea1a67 100644 --- a/huepaper/__init__.py +++ b/huepaper/__init__.py @@ -2,6 +2,7 @@ from PIL import Image, ImageDraw, ImageOps from colour import Color +import os.path import random @@ -25,7 +26,7 @@ def get_base_color( try: base_color = Color("#{}".format(color_string)) except: - print("Not a valid color expression: {}".format(color_string)) + print("Invalid color expression: {}".format(color_string)) exit(1) return base_color