Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change. https://riseup.net/donate.

Unverified Commit 928f547a authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] fix hardcoded paths

parent da45ed15
......@@ -302,7 +302,7 @@ class KeymanagerContainer(Container):
class KeymanagerService(HookableService):
def __init__(self, basedir='~/.config/leap'):
def __init__(self, basedir=DEFAULT_BASEDIR):
self._basedir = basedir
......@@ -507,7 +507,7 @@ class SMTPService(service.Service):
name = 'smtp'
def __init__(self, soledad_sessions, keymanager_sessions, sendmail_opts,
self._basedir = os.path.expanduser(basedir)
port, factory = smtp.run_service(
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment