summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/config/app_factory.py4
-rw-r--r--service/pixelated/runserver.py2
-rw-r--r--service/test/functional/features/steps/compose.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py
index 6d7fe701..38395325 100644
--- a/service/pixelated/config/app_factory.py
+++ b/service/pixelated/config/app_factory.py
@@ -45,8 +45,8 @@ def init_index_and_remove_dupes(querier, search_engine, mail_service):
def update_info_sync_and_index_partial(sync_info_controller, search_engine, mail_service):
- def wrapper(soledad_sync_data):
- sync_info_controller.set_sync_info(soledad_sync_data=soledad_sync_data)
+ def wrapper(soledad_sync_status):
+ sync_info_controller.set_sync_info(soledad_sync_status)
search_engine.index_mails(mails=mail_service.all_mails())
return wrapper
diff --git a/service/pixelated/runserver.py b/service/pixelated/runserver.py
index f3db959f..bc624cc8 100644
--- a/service/pixelated/runserver.py
+++ b/service/pixelated/runserver.py
@@ -37,7 +37,7 @@ def setup():
app.config.update({'HOST': args.host, 'PORT': args.port})
debug_enabled = args.debug or os.environ.get('DEBUG', False)
- if (not debug_enabled):
+ if not debug_enabled:
logging.basicConfig()
logger = logging.getLogger('werkzeug')
logger.setLevel(logging.INFO)
diff --git a/service/test/functional/features/steps/compose.py b/service/test/functional/features/steps/compose.py
index 8bf88598..95b05914 100644
--- a/service/test/functional/features/steps/compose.py
+++ b/service/test/functional/features/steps/compose.py
@@ -15,7 +15,7 @@
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
from time import sleep
-from behave import given, when
+from behave import given, when, then
from common import *
from hamcrest import *