pushed last commit with an indentation error.. embarassing!

This commit is contained in:
2025-01-28 20:46:07 -05:00
parent ebdd8e05fa
commit 90425afb07
+2 -2
View File
@@ -532,7 +532,7 @@ def validateHSLorHSV(color) :
# RETURNS # RETURNS
# truth if success, false if failure to detect a format # truth if success, false if failure to detect a format
def detectColorFormat(color, outputFormats) : def detectColorFormat(color, outputFormats) :
if 'rgb' in color.lower() : if 'rgb' in color.lower() :
handleRGB(color, outputFormats) handleRGB(color, outputFormats)
return True return True
elif 'cmyk' in color.lower() : elif 'cmyk' in color.lower() :
@@ -547,7 +547,7 @@ def detectColorFormat(color, outputFormats) :
elif color.strip().startswith('hsv') : elif color.strip().startswith('hsv') :
handleHSVorHSL(color, 'hsv', outputFormats) handleHSVorHSL(color, 'hsv', outputFormats)
return True return True
if '#' in color : elif '#' in color :
handleHex(color, outputFormats) handleHex(color, outputFormats)
return True return True
else : else :