diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-30 12:15:16 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-05-02 19:35:46 -0400 |
commit | 928f547a1d1235306056be1d81e8400d4d77ecce (patch) | |
tree | 9596a412cfd1a991c5823f347c24d2b8a24ced67 /src/leap/bitmask | |
parent | da45ed15190ea0f9c7c38b6312239f27664545a4 (diff) |
[bug] fix hardcoded paths
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 4 | ||||
-rw-r--r-- | src/leap/bitmask/core/service.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index 6472bdc2..3495aa39 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -302,7 +302,7 @@ class KeymanagerContainer(Container): class KeymanagerService(HookableService): - def __init__(self, basedir='~/.config/leap'): + def __init__(self, basedir=DEFAULT_BASEDIR): service.Service.__init__(self) self._basedir = basedir @@ -507,7 +507,7 @@ class SMTPService(service.Service): name = 'smtp' def __init__(self, soledad_sessions, keymanager_sessions, sendmail_opts, - basedir='~/.config/leap'): + basedir=DEFAULT_BASEDIR): self._basedir = os.path.expanduser(basedir) port, factory = smtp.run_service( diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py index ceda6353..ddd86155 100644 --- a/src/leap/bitmask/core/service.py +++ b/src/leap/bitmask/core/service.py @@ -33,7 +33,7 @@ from leap.common.events import server as event_server class BitmaskBackend(configurable.ConfigurableService): - def __init__(self, basedir='~/.config/leap'): + def __init__(self, basedir=configurable.DEFAULT_BASEDIR): configurable.ConfigurableService.__init__(self, basedir) |