Update Download Debug package

- include config
- bugfix for stream logger
This commit is contained in:
Ozzieisaacs
2020-12-12 10:02:11 +01:00
parent b637a63e71
commit 0d7f2e157a
2 changed files with 12 additions and 0 deletions

View File

@ -272,6 +272,14 @@ class _ConfigSQL(object):
setattr(self, field, new_value)
return True
def toDict(self):
storage = {}
for k, v in self.__dict__.items():
if k[0] != '_' or k.endswith("password"):
storage[k] = v
return storage
def load(self):
'''Load all configuration values from the underlying storage.'''
s = self._read_from_storage() # type: _Settings