From 7cf60f9e15e99fd51a835fb22e80db4cff28e17b Mon Sep 17 00:00:00 2001 From: GSKirox <65768236+GSKirox@users.noreply.github.com> Date: Mon, 2 Sep 2024 13:33:57 +0200 Subject: [PATCH] Remove password from settings log --- Plandomizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plandomizer.py b/Plandomizer.py index 47153f796..f38ccd3dd 100644 --- a/Plandomizer.py +++ b/Plandomizer.py @@ -1306,7 +1306,7 @@ def to_json(self, include_output: bool = True, spoiler: bool = True) -> dict[str 'settings': self.settings.to_json(), } - if not self.settings.password_lock: + if not self.settings.password_lock or not spoiler: self_dict.pop('password') if spoiler: