From d50d93eb2aa43f8bedf3e1b1bca33777d5dc6d82 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Tue, 21 Oct 2014 13:44:52 +0200 Subject: #117 - waiting for soledad sync to be done before indexing mails. Also, removing inbox duplicates --- service/pixelated/runserver.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/pixelated/runserver.py') diff --git a/service/pixelated/runserver.py b/service/pixelated/runserver.py index 840d6621..87a22fe0 100644 --- a/service/pixelated/runserver.py +++ b/service/pixelated/runserver.py @@ -18,10 +18,12 @@ import os import os.path import crochet from flask import Flask +from leap.common.events import server as events_server from pixelated.config import app_factory import pixelated.config.args as input_args import pixelated.bitmask_libraries.register as leap_register import pixelated.config.reactor_manager as reactor_manager +import pixelated.support.ext_protobuf # monkey patch for protobuf in OSX app = Flask(__name__, static_url_path='', static_folder=app_factory.get_static_folder()) @@ -34,6 +36,8 @@ def setup(): reactor_manager.start_reactor(logging=debug_enabled) crochet.setup() + events_server.ensure_server(port=8090) + app.config.from_pyfile(args.config) if args.register: -- cgit v1.2.3