küçük bir düzeltme...

This commit is contained in:
Barış Metin
2005-07-16 21:03:10 +00:00
parent 4c275176e5
commit 02685b6aac
+2 -2
View File
@@ -30,9 +30,9 @@ class CLI:
def confirm(self, msg): def confirm(self, msg):
while True: while True:
s = raw_input(msg + colorize('(yes/no)', 'red')) s = raw_input(msg + colorize('(yes/no)', 'red'))
if s.starts_with('y') or s.starts_with('Y'): if s.startswith('y') or s.startswith('Y'):
return True return True
if s.starts_with('n') or s.starts_with('N'): if s.startswith('n') or s.startswith('N'):
return False return False
class Progress: class Progress: