summaryrefslogtreecommitdiff
path: root/src/leap/config/baseconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/config/baseconfig.py')
-rw-r--r--src/leap/config/baseconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/config/baseconfig.py b/src/leap/config/baseconfig.py
index b6890d09..f04d8b35 100644
--- a/src/leap/config/baseconfig.py
+++ b/src/leap/config/baseconfig.py
@@ -107,7 +107,7 @@ class BaseConfig:
raise
return True
- def load(self, path="", data=None):
+ def load(self, path="", data=None, mtime=None):
"""
Loads the configuration from disk
@@ -127,9 +127,9 @@ class BaseConfig:
try:
if data is None:
- self._config_checker.load(fromfile=config_path)
+ self._config_checker.load(fromfile=config_path, mtime=mtime)
else:
- self._config_checker.load(data)
+ self._config_checker.load(data, mtime=mtime)
except Exception as e:
logger.warning("Something went wrong while loading " +
"the config from %s\n%s" % (config_path, e))