diff options
author | Kali Kaneko <kali@leap.se> | 2013-09-19 15:50:43 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-09-19 15:50:43 -0400 |
commit | 1c194fe4b5d7b43097c31331cc8a7162bfbef4be (patch) | |
tree | dd2f1e7901993208a00055e1f31595849d41eb51 /src/leap/bitmask/services/eip/providerbootstrapper.py | |
parent | 006f362af526e9283c698805100e54c18b2be390 (diff) | |
parent | 6cd19c3b67d76268bab5f93d3168164ec02f603d (diff) |
Merge remote-tracking branch 'ivan-github/feature/standalone-flag-to-module' into develop
Diffstat (limited to 'src/leap/bitmask/services/eip/providerbootstrapper.py')
-rw-r--r-- | src/leap/bitmask/services/eip/providerbootstrapper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/services/eip/providerbootstrapper.py b/src/leap/bitmask/services/eip/providerbootstrapper.py index ac3a44db..3b7c9899 100644 --- a/src/leap/bitmask/services/eip/providerbootstrapper.py +++ b/src/leap/bitmask/services/eip/providerbootstrapper.py @@ -28,6 +28,7 @@ from PySide import QtCore from leap.bitmask.config.providerconfig import ProviderConfig, MissingCACert from leap.bitmask.util.request_helpers import get_content +from leap.bitmask.util import get_path_prefix from leap.bitmask.util.constants import REQUEST_TIMEOUT from leap.bitmask.services.abstractbootstrapper import AbstractBootstrapper from leap.bitmask.provider.supportedapis import SupportedAPIs @@ -133,9 +134,8 @@ class ProviderBootstrapper(AbstractBootstrapper): headers = {} - provider_json = os.path.join( - ProviderConfig().get_path_prefix(), "leap", "providers", - self._domain, "provider.json") + provider_json = os.path.join(get_path_prefix(), "leap", "providers", + self._domain, "provider.json") mtime = get_mtime(provider_json) if self._download_if_needed and mtime: |