From: Stefan Pluecken Date: Thu, 2 Mar 2006 01:02:04 +0000 (+0000) Subject: remove bad words (and characters) X-Git-Tag: 2.6.0~3940 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/41c6536e584c5102d78245e1ffbbe45f19d701fc?hp=4ad28359f1e3090e963e1a8083c34c0940d0514d remove bad words (and characters) --- diff --git a/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py b/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py index c4e28fea..1d21ea3d 100644 --- a/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py +++ b/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py @@ -69,7 +69,7 @@ class Test(Screen): self["text"].number(number) def main(session): - session.openWithCallback(test, ChoiceBox, title="Delete everything on this Dreambox?", list=[(_("yes"), "yes"), (_("no"), "no"), (_("perhaps"), "perhaps"), (_("ask me tomorrow"), "ask me tomorrow"), (_("leave me alone with this s§&$!"), "yes")]) + session.openWithCallback(test, ChoiceBox, title="Delete everything on this Dreambox?", list=[(_("yes"), "yes"), (_("no"), "no"), (_("perhaps"), "perhaps"), (_("ask me tomorrow"), "ask me tomorrow"), (_("leave me alone with this!"), "yes")]) def test(returnValue): print "You entered", returnValue