From 102811e9a2e1b152c8c8dc4832bf2727c3407688 Mon Sep 17 00:00:00 2001 From: Troy Date: Fri, 26 Sep 2025 14:19:45 -0700 Subject: [PATCH 1/3] Update data.py --- obplayer/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obplayer/data.py b/obplayer/data.py index d18a9ec..94e9b04 100644 --- a/obplayer/data.py +++ b/obplayer/data.py @@ -753,6 +753,6 @@ def save_settings(self, settings): def list_settings(self, hidepasswords=False): result = {} for name, value in self.settings_cache.items(): - if not hidepasswords or not name.endswith("_password"): + if not hidepasswords or not name.endswith('_password') and not name.endswith('_access_key') and not name.endswith('_access_key_id'): result[name] = value return result From 563a1bf56bfd6f70d9c4a6d2c0430da41b8696c8 Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 2 Oct 2025 14:48:34 -0700 Subject: [PATCH 2/3] Update data.py with better formatting --- obplayer/data.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/obplayer/data.py b/obplayer/data.py index 94e9b04..ea02305 100644 --- a/obplayer/data.py +++ b/obplayer/data.py @@ -753,6 +753,11 @@ def save_settings(self, settings): def list_settings(self, hidepasswords=False): result = {} for name, value in self.settings_cache.items(): - if not hidepasswords or not name.endswith('_password') and not name.endswith('_access_key') and not name.endswith('_access_key_id'): + if ( + not hidepasswords + or not name.endswith("_password") + and not name.endswith("_access_key") + and not name.endswith("_access_key_id") + ): result[name] = value return result From 7915e579f1fa03a183bf6296026b1c378c46cc2c Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 2 Oct 2025 15:23:34 -0700 Subject: [PATCH 3/3] Update data.py lint --- obplayer/data.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/obplayer/data.py b/obplayer/data.py index ea02305..0687960 100644 --- a/obplayer/data.py +++ b/obplayer/data.py @@ -754,10 +754,10 @@ def list_settings(self, hidepasswords=False): result = {} for name, value in self.settings_cache.items(): if ( - not hidepasswords - or not name.endswith("_password") - and not name.endswith("_access_key") - and not name.endswith("_access_key_id") + not hidepasswords + or not name.endswith("_password") + and not name.endswith("_access_key") + and not name.endswith("_access_key_id") ): result[name] = value return result