dump conf at startup if DEBUG
This commit is contained in:
parent
b2b9de1271
commit
c122d17af3
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue