diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-09-04 15:24:46 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-09-04 15:24:46 -0300 |
commit | 125a83037657bd7783ebc5b9e8aca75b5e886780 (patch) | |
tree | bb1b1287fc6091e4848cd0af72aafad56f495e00 /src/leap/bitmask/platform_init | |
parent | 5dac91fb026aeb87529a1a796004fc60d72446bc (diff) | |
parent | e6fae0977015919282971dbe8a00938415c1233b (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/code-logging-cleanup' into develop
Diffstat (limited to 'src/leap/bitmask/platform_init')
-rw-r--r-- | src/leap/bitmask/platform_init/initializers.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/leap/bitmask/platform_init/initializers.py b/src/leap/bitmask/platform_init/initializers.py index 6c62734c..70d787dd 100644 --- a/src/leap/bitmask/platform_init/initializers.py +++ b/src/leap/bitmask/platform_init/initializers.py @@ -127,12 +127,15 @@ def check_missing(): complain_missing = True launcher = get_vpn_launcher() - missing_scripts = launcher.missing_updown_scripts - missing_other = launcher.missing_other_files + missing_scripts = launcher.missing_updown_scripts() + missing_other = launcher.missing_other_files() - logger.debug("MISSING OTHER: %s" % (str(missing_other()))) + if missing_scripts: + logger.warning("Missing scripts: %s" % (missing_scripts)) + if missing_other: + logger.warning("Missing other files: %s" % (missing_other)) - missing_some = missing_scripts() or missing_other() + missing_some = missing_scripts or missing_other if alert_missing and missing_some: msg = get_missing_helpers_dialog() ret = msg.exec_() @@ -168,7 +171,7 @@ def check_missing(): config.set_alert_missing_scripts(False) if complain_missing and missing_some: - missing = missing_scripts() + missing_other() + missing = missing_scripts + missing_other msg = _get_missing_complain_dialog(missing) ret = msg.exec_() |