(hooke:cli.py) changed previously forgotten alphainput in do_exit
authoralbertogomcas <devnull@localhost>
Fri, 20 Jun 2008 09:06:03 +0000 (09:06 +0000)
committeralbertogomcas <devnull@localhost>
Fri, 20 Jun 2008 09:06:03 +0000 (09:06 +0000)
hooke_cli.py

index 9630ad3889782838365c36f4ebf0341a5a1a4bb2..d5aa3104d62082f1e95d379a414d78741040ad25 100755 (executable)
@@ -270,7 +270,7 @@ Syntax: genlist [input files]
     def do_genlist(self,args):
         #args list is: input path, output name
         if len(args)==0:
-            args=linp.safeinput('Input files?',[])
+            args=linp.safeinput('Input files?')
                     
         arglist=args.split()      
         list_path=arglist[0]
@@ -930,7 +930,7 @@ Syntax: quit
         if (not self.playlist_saved) or (not self.notes_saved):
             we_exit=linp.safeinput('You did not save your playlist and/or notes. Exit?',['n'])
         else:
-            we_exit=linp.alphainput('Exit?',['y'])
+            we_exit=linp.safeinput('Exit?',['y'])
         
         if we_exit[0].upper()=='Y':
             wx.CallAfter(self.frame.Close)