mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-09-10 15:14:36 +08:00
fixes empty secret redacting all logs
This commit is contained in:
parent
add04afe4e
commit
7701a8fe0e
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue