diff options
-rw-r--r-- | pyapd/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyapd/config.py b/pyapd/config.py index 8c513b7..83e35b4 100644 --- a/pyapd/config.py +++ b/pyapd/config.py @@ -6,7 +6,7 @@ import ruamel.yaml class Config(): def __init__(self, config_fn: Optional[str] = None, **kw): self.config_fn = config_fn - self.data = {} + self.data: dict = {} if config_fn: self.load() |