summaryrefslogtreecommitdiff
path: root/optik_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'optik_ext.py')
-rw-r--r--optik_ext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/optik_ext.py b/optik_ext.py
index 7305b7b..34dbfe9 100644
--- a/optik_ext.py
+++ b/optik_ext.py
@@ -110,7 +110,7 @@ def check_yn(option, opt, value):
def check_named(option, opt, value):
"""check a named value
- return a dictionnary containing (name, value) associations
+ return a dictionary containing (name, value) associations
"""
if isinstance(value, dict):
return value
@@ -165,7 +165,7 @@ def check_color(option, opt, value):
return value
# Else : not a color label neither a valid hexadecimal form => error
msg = "option %s: invalid color : %r, should be either hexadecimal \
- value or predefinied color"
+ value or predefined color"
raise OptionValueError(msg % (opt, value))
def check_time(option, opt, value):