Improved logging for emails

Removed private data from debug export
This commit is contained in:
Ozzieisaacs
2021-01-03 19:27:34 +01:00
parent 760fbbb357
commit a659f2e49d
4 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ class _ConfigSQL(object):
def toDict(self):
storage = {}
for k, v in self.__dict__.items():
if k[0] != '_' or k.endswith("password"):
if k[0] != '_' and not k.endswith("password") and not k.endswith("secret"):
storage[k] = v
return storage