1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 19:19:15 +00:00

implement user input for #318

This commit is contained in:
deadc0de6
2021-09-22 11:16:17 +02:00
parent 5dfbf5d044
commit 55e6ff46b8
3 changed files with 45 additions and 4 deletions

View File

@@ -206,10 +206,11 @@ class CfgAggregator:
# parsing
########################################################
def _load(self):
def _load(self, reloading=False):
"""load lower level config"""
self.cfgyaml = CfgYaml(self.path,
self.profile_key,
reloading=reloading,
debug=self.debug)
# settings
@@ -361,7 +362,7 @@ class CfgAggregator:
self.log.dbg('reloading config')
olddebug = self.debug
self.debug = False
self._load()
self._load(reloading=True)
self.debug = olddebug
@classmethod