Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDinko Galetic <dgaletic@everflame.(none)>2010-06-09 21:19:38 (GMT)
committer Dinko Galetic <dgaletic@everflame.(none)>2010-06-09 21:19:38 (GMT)
commit2ab26284b6b1000fbae0ac84844dc4557de6d000 (patch)
tree781ff7cf8f7f663b1597c8996b530a80df9f647d
parenta77440ff9043748385368dc474b9af0ba3d6500f (diff)
Added a warning when a nonexisting option gets selected.
Added "Press enter to continue" after each action.
-rw-r--r--data/GSOC examples/birthday reminder3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/GSOC examples/birthday reminder b/data/GSOC examples/birthday reminder
index eca9458..485136c 100644
--- a/data/GSOC examples/birthday reminder
+++ b/data/GSOC examples/birthday reminder
@@ -192,6 +192,9 @@ def menu():
elif choice == "9":
return
+ else:
+ print "That is not a valid option!"
+ raw_input("Press enter to continue...")
# This is where our program starts executing. It enters the menu() function and
# runs it until you choose to leave.