From b8180605147a695f395d9a7ae42444ba5a3b0809 Mon Sep 17 00:00:00 2001 From: Moritz Venn Date: Sun, 12 Jun 2011 17:53:34 +0200 Subject: [PATCH] AutoTimerEditor.py: don't crash if no help text was found --- autotimer/src/AutoTimerEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotimer/src/AutoTimerEditor.py b/autotimer/src/AutoTimerEditor.py index e274e51d..1d38ca94 100644 --- a/autotimer/src/AutoTimerEditor.py +++ b/autotimer/src/AutoTimerEditor.py @@ -464,7 +464,7 @@ class AutoTimerEditor(Screen, ConfigListScreen, AutoTimerEditorBase): def updateHelp(self): cur = self["config"].getCurrent() if cur: - self["help"].text = self.helpDict[cur[1]] + self["help"].text = self.helpDict.get(cur[1], "") def changed(self): for x in self.onChangedEntry: -- 2.20.1