From 75e340bc41803d6fa32df673bb8b1f4e045d4261 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 19 Dec 2014 19:16:42 -0300 Subject: Create the certificates if they don't exist. Fix typo for signal disconnection. The backend is the one who always creates the certificates. Either if it is run separately or in a process in the same app as the frontend. --- src/leap/bitmask/app.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/leap/bitmask/app.py') diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index ef156671..9056d2a6 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -45,7 +45,6 @@ import sys from leap.bitmask.backend.backend_proxy import BackendProxy -from leap.bitmask.backend.utils import generate_certificates from leap.bitmask import __version__ as VERSION from leap.bitmask.config import flags @@ -179,14 +178,9 @@ def start_app(): logger.info('Starting app') - backend = BackendProxy() - backend_running = backend.check_online() - + backend_running = BackendProxy().check_online() logger.debug("Backend online: {0}".format(backend_running)) - if not backend_running: - generate_certificates() - flags_dict = flags_to_dict() backend_pid = None -- cgit v1.2.3