dump conf at startup if DEBUG

This commit is contained in:
boyska 2021-03-01 11:45:15 +01:00
parent b2b9de1271
commit c122d17af3

View file

@ -3,6 +3,7 @@ This module is for the main application logic
"""
from __future__ import print_function
import json
import logging
import logging.config
import os
@ -86,6 +87,10 @@ def main():
logging.Logger.debugv = debugv
logging.debug(
"Starting larigira with this conf:\n%s",
json.dumps(get_conf(), indent=2),
)
if get_conf()["MPD_WAIT_START"]:
while True: