repl: interactive add of backends when no one is loaded at startup
This commit is contained in:
parent
aee0e49cc8
commit
04037e7893
13 changed files with 144 additions and 106 deletions
|
|
@ -30,9 +30,7 @@ class Chatoob(ReplApplication):
|
|||
APPNAME = 'chatoob'
|
||||
VERSION = '0.1'
|
||||
COPYRIGHT = 'Copyright(C) 2010 Christophe Benz'
|
||||
|
||||
def load_default_backends(self):
|
||||
self.load_backends(ICapChat)
|
||||
CAPS = ICapChat
|
||||
|
||||
def on_new_chat_message(self, message):
|
||||
print 'on_new_chat_message: %s' % message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue