This commit is contained in:
Romain Bignon 2010-05-01 14:37:57 +02:00
commit fbf639993b
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,8 @@ class PromptScheduler(Scheduler):
sys.stdout.write('\n')
class PromptApplication(ConsoleApplication):
SYNOPSIS = 'Usage: %prog [options (-h for help)]'
def create_weboob(self):
return Weboob(self.APPNAME, scheduler=PromptScheduler(self.prompt, self.read_cb))