From 55091bfc1de04767b4b708edab50e01395275ebd Mon Sep 17 00:00:00 2001 From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> Date: Sun, 14 May 2023 13:15:16 -0400 Subject: [PATCH] cinnamon-settings.py: Remove trailing whitespace --- .../share/cinnamon/cinnamon-settings/cinnamon-settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py b/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py index 4b39a971a9..16bd671aeb 100755 --- a/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py +++ b/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py @@ -183,7 +183,7 @@ def _on_sidepage_show_stack(self): def go_to_sidepage(self, sidePage: SettingsWidgets.SidePage, user_action=True): sidePage.build() - + if sidePage.is_standalone: return # we're done @@ -329,12 +329,12 @@ def __init__(self): if len(sys.argv) > 1: if self.load_sidepage_as_standalone(): return - + self.init_settings_overview() def init_settings_overview(self): """Load the system settings overview (default) - + This requires to initialize all settings modules. """ # 1. load all python modules @@ -503,7 +503,7 @@ def load_python_modules(self, only_module: str = None) -> bool: return False to_import = [os.path.splitext(os.path.basename(x))[0] for x in mod_files] - + if only_module is not None: to_import = filter(lambda mod: only_module.replace("-", "_") in mod, to_import)