correctly handle reload after backends configuration

This commit is contained in:
Romain Bignon 2010-08-03 20:18:34 +02:00
commit bf0f1d94b1
5 changed files with 20 additions and 7 deletions

View file

@ -28,7 +28,8 @@ class QHaveSex(QtApplication):
STORAGE_FILENAME = 'dating.storage'
def main(self, argv):
self.load_configured_backends(ICapDating, storage=self.create_storage(self.STORAGE_FILENAME))
self.create_storage(self.STORAGE_FILENAME)
self.load_configured_backends(ICapDating)
self.main_window = MainWindow(self.config, self.weboob)
self.main_window.show()