diff options
author | kali <kali@leap.se> | 2012-08-29 23:05:38 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-29 23:05:38 +0900 |
commit | ed4ad3a392caf0211e51a48d2d7b6c5a2f7bb17a (patch) | |
tree | 55958957a27f3784aef99f122673852becb4c1c2 /src/leap/base/config.py | |
parent | 63c0b7aa3ded55426a834d0a5947fff798894c6b (diff) |
add eipconfig spec and config object
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r-- | src/leap/base/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py index 1ced471b..465016db 100644 --- a/src/leap/base/config.py +++ b/src/leap/base/config.py @@ -141,6 +141,9 @@ class JSONLeapConfig(BaseLeapConfig): config_file = get_config_file(filename, folder) return config_file + def exists(self): + return os.path.isfile(self.filename) + # # utility functions |