diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-03-15 13:30:01 -0300 |
---|---|---|
committer | kali <kali@leap.se> | 2013-03-21 23:01:50 +0900 |
commit | 8f54774f6c3f779527718a0158ebd0efc4aab588 (patch) | |
tree | 8a746424f81698b03cabcc481196273672b5601e /src/leap/config/prefixers.py | |
parent | ddbad58fc2b3f44a293eeac7790a06f13b56944a (diff) |
Handle configuration and paths in a standalone way
Also, abstracts QSettings under LeapSettings and adds a way to define
the VPN env in a platform dependant way.
Diffstat (limited to 'src/leap/config/prefixers.py')
-rw-r--r-- | src/leap/config/prefixers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/config/prefixers.py b/src/leap/config/prefixers.py index c65d8f53..557a77ac 100644 --- a/src/leap/config/prefixers.py +++ b/src/leap/config/prefixers.py @@ -74,7 +74,7 @@ class LinuxPrefixer(Prefixer): config_dir = BaseDirectory.xdg_config_home if not standalone: return config_dir - return os.getenv("LEAP_CLIENT_PATH", config_dir) + return os.path.join(os.getcwd(), "config") if __name__ == "__main__": |