Reset the config_files when the config directory changes
This commit is contained in:
parent
c2299b793c
commit
abc3964f73
|
@ -80,6 +80,13 @@ class _ConfigManager:
|
|||
return False
|
||||
|
||||
self.__config_directory = directory
|
||||
|
||||
# Reset the config_files so we don't get config from old config folder
|
||||
# XXX: Probably should have it go through the config_files dict and try
|
||||
# to reload based on the new config directory
|
||||
self.save()
|
||||
self.config_files = {}
|
||||
|
||||
return True
|
||||
|
||||
def get_config_dir(self):
|
||||
|
|
Loading…
Reference in New Issue