fixes empty secret redacting all logs

This commit is contained in:
bobokun 2022-11-08 09:06:25 -05:00
parent add04afe4e
commit 7701a8fe0e
No known key found for this signature in database
GPG key ID: B73932169607D927

View file

@ -184,7 +184,7 @@ class MyLogger:
self.spacing = 0
def secret(self, text):
if str(text) not in self.secrets:
if str(text) not in self.secrets and str(text):
self.secrets.append(str(text))
def insert_space(self, display_title, space_length=0):