monboob provides a storage object to backends
This commit is contained in:
parent
6e3e93e08b
commit
92eed9465f
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class Monboob(BaseApplication):
|
||||||
print >>sys.stderr, "Also, you need to use 'weboobcfg' to set backend configs"
|
print >>sys.stderr, "Also, you need to use 'weboobcfg' to set backend configs"
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
self.weboob.load_backends(ICapMessages)
|
self.weboob.load_backends(ICapMessages, storage=self.create_storage())
|
||||||
|
|
||||||
self.weboob.repeat(self.config.get('interval'), self.process)
|
self.weboob.repeat(self.config.get('interval'), self.process)
|
||||||
self.weboob.loop()
|
self.weboob.loop()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue