diff options
author | Devaev Maxim <[email protected]> | 2018-11-14 20:34:46 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-14 20:34:46 +0300 |
commit | b690dbce4447665db5b4ce0b11f14dc796ca917b (patch) | |
tree | 62d4961002e09fa79886cdd076283c1c45f8bdd0 /kvmd/apps | |
parent | e97975fc15d3688a121cfdf18126a16c957838bd (diff) |
common logging.yaml
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/apps/kvmd/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index 60446c2b..c99fd271 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -10,7 +10,7 @@ from ... import gpio # ===== def main() -> None: - config = init() + config = init()["kvmd"] logger = get_logger(0) logger.info("Cleaning up ...") diff --git a/kvmd/apps/kvmd/__init__.py b/kvmd/apps/kvmd/__init__.py index 1959f05c..099fd192 100644 --- a/kvmd/apps/kvmd/__init__.py +++ b/kvmd/apps/kvmd/__init__.py @@ -17,7 +17,7 @@ from .server import Server # ===== def main() -> None: - config = init() + config = init()["kvmd"] with gpio.bcm(): loop = asyncio.get_event_loop() http_session = aiohttp.ClientSession(loop=loop) |