From 52d690c3824205b6b2fd2faeb54daf1bc30b46b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 8 Nov 2023 14:48:19 +0100 Subject: [PATCH] fix --- deployment/install.yml | 2 +- src/pv_controller/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/install.yml b/deployment/install.yml index db51366..14aecb8 100644 --- a/deployment/install.yml +++ b/deployment/install.yml @@ -35,7 +35,7 @@ spec: spec: containers: - name: pv-controller - image: wollud1969/pv-controller:1.0.0 + image: wollud1969/pv-controller:1.0.1 envFrom: - configMapRef: name: pv-controller diff --git a/src/pv_controller/config.py b/src/pv_controller/config.py index f9f86b1..9307bef 100644 --- a/src/pv_controller/config.py +++ b/src/pv_controller/config.py @@ -17,7 +17,7 @@ class Config: def __init__(self): self.values = {} - for section, keys in Config.OPTIONS: + for section, keys in Config.OPTIONS.items(): self.values[section] = {} for key in keys: varname = f"{section}__{key}".upper()