diff examples/file_dialog.py @ 40:4da76342ae05

added Menu example
author Goffi <goffi@goffi.org>
date Sun, 20 Feb 2011 00:04:53 +0100
parents 818393067e54
children 585302e84c1f
line wrap: on
line diff
--- a/examples/file_dialog.py	Tue Jan 11 15:32:14 2011 +0100
+++ b/examples/file_dialog.py	Sun Feb 20 00:04:53 2011 +0100
@@ -34,7 +34,7 @@
     
 def test_quit(input):
     """We leave is user press 'esc'"""
-    if input in ('esc'):
+    if input in ('esc',):
         raise urwid.ExitMainLoop()
 
 fd = FileDialog(ok_cb, cancel_cb)