This commit is contained in:
2025-10-11 12:09:20 +08:00
parent 3dec2ce731
commit 852db6e6cb

View File

@@ -15,7 +15,7 @@ class PrintableConfig:
lines = [self.__class__.__name__ + ":"]
for key, val in vars(self).items():
if key.endswith("_secret") or ("key" in key):
if self.is_secrete(key):
val = str(val)
val = val[:3] + "*"*(len(val) - 3)