fixed typo in argument validation

This commit is contained in:
2024-11-30 12:17:46 -05:00
parent 3704cb71ac
commit 4e0c7ec38e
+1 -1
View File
@@ -185,7 +185,7 @@ def validateArguments(args) :
return False return False
# Second, check that there is a color code to convert # Second, check that there is a color code to convert
if len(color) == 0 : if len(args.color) == 0 :
print('ERROR: Must enter both an input flag and color code (did you forget to wrap color code in quotes?)\nFor more info, use the \'-h\' or \'--help\' flag.') print('ERROR: Must enter both an input flag and color code (did you forget to wrap color code in quotes?)\nFor more info, use the \'-h\' or \'--help\' flag.')
return False return False