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 Sep 2, 2023
1 parent fa4ddcb commit e46fd80
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,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 @@ -326,12 +326,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 @@ -502,7 +502,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 e46fd80

Please sign in to comment.