Skip to content

Commit

Permalink
cinnamon-settings.py: Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rcalixte committed May 15, 2023
1 parent f4415bd commit 55091bf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 55091bf

Please sign in to comment.