From 90425afb07bd154fa17b2de7b15f2ec39b425db7 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 28 Jan 2025 20:46:07 -0500 Subject: [PATCH] pushed last commit with an indentation error.. embarassing! --- color-converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/color-converter.py b/color-converter.py index 9cf9f5b..950dc92 100644 --- a/color-converter.py +++ b/color-converter.py @@ -532,7 +532,7 @@ def validateHSLorHSV(color) : # RETURNS # truth if success, false if failure to detect a format def detectColorFormat(color, outputFormats) : - if 'rgb' in color.lower() : + if 'rgb' in color.lower() : handleRGB(color, outputFormats) return True elif 'cmyk' in color.lower() : @@ -547,7 +547,7 @@ def detectColorFormat(color, outputFormats) : elif color.strip().startswith('hsv') : handleHSVorHSL(color, 'hsv', outputFormats) return True - if '#' in color : + elif '#' in color : handleHex(color, outputFormats) return True else :