Skip to content

Commit

Permalink
Remove password from settings log
Browse files Browse the repository at this point in the history
  • Loading branch information
GSKirox committed Sep 2, 2024
1 parent 6d5ee07 commit 7cf60f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plandomizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7cf60f9

Please sign in to comment.