minor fixes

This commit is contained in:
Romain Bignon 2010-03-27 11:42:54 +01:00
commit 812c597f34
4 changed files with 7 additions and 13 deletions

View file

@ -47,7 +47,6 @@ class Application(BaseApplication):
self.weboob.load_modules(ICapMessages)
self.weboob.schedule(self.config['interval'], self.process)
self.weboob.config.save()
self.weboob.loop()
def process(self):

View file

@ -32,11 +32,6 @@ class Application(BaseApplication):
CONFIG = {}
def main(self, argv):
#if not self.config:
# print >>sys.stderr, "Error: %s is not configured yet. Please call 'weboob.travel -c'" % argv[0]
# print >>sys.stderr, "Also, you need to use 'weboobcfg' to set backend configs"
# return -1
self.weboob.load_modules(ICapTravel)
if len(argv) == 1: