diff --git a/lib/python/Components/ActionMap.py b/lib/python/Components/ActionMap.py index e34b8495976..37be4162a19 100644 --- a/lib/python/Components/ActionMap.py +++ b/lib/python/Components/ActionMap.py @@ -1,5 +1,5 @@ -import re from enigma import eActionMap + from Tools.KeyBindings import queryKeyBinding @@ -100,9 +100,8 @@ def exists(record): if isinstance(contexts, str): contexts = [contexts] - self.contexts = contexts actions = actions or {} - self.description = description or _(re.sub(r"(\w)([A-Z])([a-z])", r"\1 \2\3", contexts[0])) + self.description = description adict = {} for context in contexts: alist = []