fixed typo in argument validation
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user