Commits

kenko committed 641d644

default value might by falsy

Comments (0)

Files changed (1)

pyline/question.py

             self.first_answer = None    
 
     def append_default(self):
-        if not self.default: return
+        if self.default is None: return
         prompt = self.prompt
         if not prompt:
             self.prompt = "|%s|  " % self.default