mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 06:20:23 +00:00
Update config.py to redact delete: line from webhooks
This commit is contained in:
parent
30577af0e4
commit
57a0bcfb3b
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class ConfigFile:
|
|||
with open(self.config_path, encoding="utf-8") as fp:
|
||||
logger.separator("Redacted Config", space=False, border=False, debug=True)
|
||||
for line in fp.readlines():
|
||||
logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n")))
|
||||
logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|delete|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n")))
|
||||
logger.debug("")
|
||||
|
||||
self.data = YAML(self.config_path).data
|
||||
|
|
Loading…
Reference in a new issue