Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
JensDll committed Aug 21, 2023
1 parent 40e5a45 commit 4d3657a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions unix/.config/gdbdash/gdbdash/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ def try_load_config(self):
self.config_modified_time = config_modified_time
self.load(self.config_path)

def disable_if_config_disabled(self):
if self.config_path.is_file():
with open(self.config_path) as f:
config = json.load(f)
self.enabled = config["dashboard"]["enabled"]

@cached_property
def options(self): # type: () -> DashboardOptions
return {
Expand Down

0 comments on commit 4d3657a

Please sign in to comment.