From 96080a75b5cd74041aa92d84052d5d6089e87b53 Mon Sep 17 00:00:00 2001 From: mistangl Date: Wed, 17 Jan 2024 16:19:41 +0100 Subject: [PATCH] controller merkt sich jetzt auch die Configdatei, um die Logiken dort abzurufen --- lib/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller.py b/lib/controller.py index 2b7fd4f..cbfd980 100644 --- a/lib/controller.py +++ b/lib/controller.py @@ -78,8 +78,8 @@ class GuiLogic(): """ Class for business logic. implementing the dependencies between different user inputs """ - def __init__(self): - pass + def __init__(self, configs): + self.config = configs def callback(self, key): a = key