From c56020d814e0cf85b97965d7738ad6ad7a2ebca6 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 30 Jun 2010 10:37:24 +0200 Subject: [PATCH] do not start optimizations before initialization is finished --- weboob/frontends/havesex/havesex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/frontends/havesex/havesex.py b/weboob/frontends/havesex/havesex.py index 256d89c4..14f30fa6 100644 --- a/weboob/frontends/havesex/havesex.py +++ b/weboob/frontends/havesex/havesex.py @@ -39,7 +39,7 @@ class HaveSex(PromptApplication): self.load_config() self.load_backends(ICapDating, storage=self.create_storage(self.STORAGE_FILENAME)) - self.weboob.do('init_optimizations') + self.weboob.do('init_optimizations').wait() self.optims('Starting', 'start_optimization', self.config.get('optimizations').split(' '))