diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-28 15:48:01 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-28 15:48:01 -0300 |
commit | 3d098198fe39b848aed386a69b2186ed8a521192 (patch) | |
tree | 98742e6d8e2f0fdba03ff37616fe53a0e4ba9861 /src/leap | |
parent | 9a884804c7cf5a21a5a01a1fd918f720cb932515 (diff) | |
parent | 5cf70a34ddcde184cd6c50ba26c995934c2a2642 (diff) |
Merge remote-tracking branch 'ivan/feature/3574_use-dirspec-instead-of-xdg' into develop
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/mail/imap/service/imap-server.tac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/mail/imap/service/imap-server.tac b/src/leap/mail/imap/service/imap-server.tac index 8638be2..da72cae 100644 --- a/src/leap/mail/imap/service/imap-server.tac +++ b/src/leap/mail/imap/service/imap-server.tac @@ -1,10 +1,9 @@ import ConfigParser import os -from xdg import BaseDirectory - from leap.soledad.client import Soledad from leap.mail.imap.service import imap +from leap.common.config import get_path_prefix config = ConfigParser.ConfigParser() @@ -34,7 +33,7 @@ def initialize_soledad_mailbox(user_uuid, soledad_pass, server_url, :rtype: Soledad instance """ - base_config = BaseDirectory.xdg_config_home + base_config = get_path_prefix() secret_path = os.path.join( base_config, "leap", "soledad", "%s.secret" % user_uuid) |