summaryrefslogtreecommitdiff
path: root/src/leap/common/config/prefixers.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-30 11:41:08 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-30 11:41:08 -0300
commitf4ad8fe84e96d355c46cd94a0e30330b83861dc2 (patch)
tree6f08a42d3a1eb64e18d4c13b4d41683fae9c80e9 /src/leap/common/config/prefixers.py
parentb006c2c56fe0b83a3baf6a10a1e7dbe196051b8d (diff)
Fix path prefix for OSX
Diffstat (limited to 'src/leap/common/config/prefixers.py')
-rw-r--r--src/leap/common/config/prefixers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/common/config/prefixers.py b/src/leap/common/config/prefixers.py
index 050d4cd..9a5b043 100644
--- a/src/leap/common/config/prefixers.py
+++ b/src/leap/common/config/prefixers.py
@@ -95,7 +95,7 @@ class DarwinPrefixer(Prefixer):
config_dir = BaseDirectory.xdg_config_home
if not standalone:
return config_dir
- return os.getenv(os.getcwd(), "config")
+ return os.path.join(os.getcwd(), "config")
class WindowsPrefixer(Prefixer):