Skip to content

Commit

Permalink
narrow it?
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Mar 22, 2024
1 parent 27d7865 commit e722520
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ def __init__(self) -> None:
self._listener = None # type: Optional[Callable[[Optional[str]], None]]

def _notify_listener(self, config_name: Optional[str] = None) -> None:
if callable(self._listener):
self._listener(config_name)
...
# if callable(self._listener):
# self._listener(config_name)

def add_for_testing(self, config: ClientConfig) -> None:
assert config.name not in self.all
Expand Down

0 comments on commit e722520

Please sign in to comment.