Commit 82e9108a authored by Romain Bignon's avatar Romain Bignon

fix yaml config loader

parent 913d8919
......@@ -32,7 +32,7 @@ from weboob.capabilities.messages import ICapMessages
from import BaseApplication
class Monboob(BaseApplication):
APPNAME = 'mail'
APPNAME = 'monboob'
CONFIG = {'interval': 15,
'domain': '',
'recipient': '',
......@@ -45,7 +45,7 @@ class Monboob(BaseApplication):
print >>sys.stderr, "Also, you need to use 'weboobcfg' to set backend configs"
return -1
self.weboob.schedule(self.config.get('interval'), self.process)
......@@ -46,7 +46,7 @@ class BaseApplication(object):
if klass is None:
# load Config only here because some applications don't want
# to depend on yaml and do not use this function
from import YamlConfig
from import YamlConfig
klass = YamlConfig
if path is None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment