issue found and fixed

This commit is contained in:
2024-11-05 21:51:23 +01:00
parent e2b5eaff6e
commit 198e4238f4
2 changed files with 5 additions and 6 deletions

View File

@ -49,10 +49,8 @@ try:
context['boxes'] = boxes
# add context dict to each box in the list
for box_name, config in boxes.items():
for _, config in boxes.items():
config['context'] = {}
logger.info(f"{boxes=}")
except json.JSONDecodeError as e:
logger.error(f"Error parsing JSON configuration for boxes: {e}")
sys.exit(1)