common logging.yaml

This commit is contained in:
Devaev Maxim
2018-11-14 20:34:46 +03:00
parent e97975fc15
commit b690dbce44
8 changed files with 61 additions and 78 deletions

View File

@@ -10,7 +10,7 @@ from ... import gpio
# =====
def main() -> None:
config = init()
config = init()["kvmd"]
logger = get_logger(0)
logger.info("Cleaning up ...")

View File

@@ -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)