diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-11-10 15:25:41 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-11-10 17:54:12 -0200 |
commit | 84689864542cb9c6c356b5204f94dd7a0ea7a777 (patch) | |
tree | 268f8914c0e89d653ae46a33952ee6da47b914c1 /service/pixelated/config | |
parent | 636bbf638b3b0fbd6de3b194fb91257de4fe5d5b (diff) |
adding encrypted file index to whoosh
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/app_factory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 6a9046ee..93681fe3 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -96,12 +96,12 @@ def init_leap_session(app): def init_app(app): leap_session = init_leap_session(app) + soledad_querier = SoledadQuerier(soledad=leap_session.account._soledad) tag_service = TagService() - search_engine = SearchEngine() + search_engine = SearchEngine(soledad_querier) pixelated_mail_sender = MailSender(leap_session.account_email()) - soledad_querier = SoledadQuerier(soledad=leap_session.account._soledad) pixelated_mailboxes = Mailboxes(leap_session.account, soledad_querier) draft_service = DraftService(pixelated_mailboxes) mail_service = MailService(pixelated_mailboxes, pixelated_mail_sender, tag_service, soledad_querier) |