Skip to content

Commit

Permalink
Load config on start
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Feb 10, 2024
1 parent 41f8ade commit 8592762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plover_q_and_a/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class QAndA:

def __init__(self, engine: StenoEngine) -> None:
self._engine = engine
self._config = config.load(_CONFIG_FILEPATH)
self._config = {}

def start(self) -> None:
"""
Expand All @@ -52,6 +52,7 @@ def start(self) -> None:
"machine_state_changed",
self._machine_state_changed
)
self._config = config.load(_CONFIG_FILEPATH)

def stop(self) -> None:
"""
Expand Down

0 comments on commit 8592762

Please sign in to comment.