diff options
| author | Simon <vesspa0330@gmail.com> | 2024-11-30 12:17:46 -0500 |
|---|---|---|
| committer | Simon <vesspa0330@gmail.com> | 2024-11-30 12:17:46 -0500 |
| commit | 4e0c7ec38e50cc9b9fe2e910014a3553de033008 (patch) | |
| tree | 1f4eb26f860572222f27d2898a7c00e67d5f7788 /color-converter.py | |
| parent | 3704cb71acf630aae4054b15b9e594e29b74652f (diff) | |
fixed typo in argument validation
Diffstat (limited to 'color-converter.py')
| -rw-r--r-- | color-converter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/color-converter.py b/color-converter.py index a574bd1..785beb8 100644 --- a/color-converter.py +++ b/color-converter.py @@ -185,7 +185,7 @@ def validateArguments(args) : return False # 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.') return False |
