summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-28 12:28:52 -0400
committerKali Kaneko <kali@leap.se>2016-03-28 15:10:48 -0400
commit541cf77d2c7bc9202474cce4c10b535a9c225ccd (patch)
tree78edfcd38b68e4104f1629c05f252ab8020328f1 /src
parent098b0974925c44dad1e98352670959cba66f9c0a (diff)
[bug] set standalone flag properly
otherwise, the configs are saved to the user home config folder.
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/services/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/__init__.py b/src/leap/bitmask/services/__init__.py
index 54426669..d86f8aa4 100644
--- a/src/leap/bitmask/services/__init__.py
+++ b/src/leap/bitmask/services/__init__.py
@@ -154,6 +154,9 @@ def download_service_config(provider_config, service_config,
# Not modified
service_path = ("leap", "providers", provider_config.get_domain(),
service_json)
+
+ service_config.__class__.standalone = flags.STANDALONE
+
if res.status_code == 304:
logger.debug(
"{0} definition has not been modified".format(