summaryrefslogtreecommitdiff
path: root/src/leap/base/config.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-29 23:05:38 +0900
committerkali <kali@leap.se>2012-08-29 23:05:38 +0900
commited4ad3a392caf0211e51a48d2d7b6c5a2f7bb17a (patch)
tree55958957a27f3784aef99f122673852becb4c1c2 /src/leap/base/config.py
parent63c0b7aa3ded55426a834d0a5947fff798894c6b (diff)
add eipconfig spec and config object
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r--src/leap/base/config.py3
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