summaryrefslogtreecommitdiff
path: root/src/home/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/config')
-rw-r--r--src/home/config/__init__.py2
-rw-r--r--src/home/config/config.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/home/config/__init__.py b/src/home/config/__init__.py
index d4b1c27..cc9c091 100644
--- a/src/home/config/__init__.py
+++ b/src/home/config/__init__.py
@@ -1 +1 @@
-from .config import ConfigStore, config, is_development_mode
+from .config import ConfigStore, config, is_development_mode, setup_logging
diff --git a/src/home/config/config.py b/src/home/config/config.py
index f953c43..9882bfa 100644
--- a/src/home/config/config.py
+++ b/src/home/config/config.py
@@ -34,7 +34,7 @@ class ConfigStore:
data: MutableMapping[str, Any]
app_name: Optional[str]
- def __int__(self):
+ def __init__(self):
self.data = {}
self.app_name = None
@@ -57,7 +57,7 @@ class ConfigStore:
parser = ArgumentParser()
if not no_config:
parser.add_argument('-c', '--config', type=str, required=name is None,
- help='Path to the config in TOML format')
+ help='Path to the config in TOML or YAML format')
parser.add_argument('-V', '--verbose', action='store_true')
parser.add_argument('--log-file', type=str)
parser.add_argument('--log-default-fmt', action='store_true')