Example #1
0
 def sync(self):
     """Synchronise the config."""
     with open_and_save(self.config_path) as config:
         config['config'] = self._config
Example #2
0
 def load(self):
     """Load the config."""
     with open_and_save(self.config_path, save=False) as config:
         self._config = config['config']