From 6c748dff66fe76d0a0f13ef6bf27a303c2298dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hauke=20Z=C3=BChl?= Date: Sat, 19 Sep 2026 11:50:11 +0200 Subject: [PATCH] Falsche Variablen gefixt --- python/Muell/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/Muell/__init__.py b/python/Muell/__init__.py index bfff09c..eb4030c 100644 --- a/python/Muell/__init__.py +++ b/python/Muell/__init__.py @@ -188,7 +188,7 @@ class Muell: if ausgabe is not None: # Jetzt den Telegram Bot ansprechen try: - os.system(f'echo "{ausgabe}" | {config["telegram"]["pathBot"]} -u {config["telegram"]["tgReceiver"]}') + os.system(f'echo "{ausgabe}" | {self.__config["telegram"]["pathBot"]} -u {self.__config["telegram"]["tgReceiver"]}') except Exception as e: os.system(f'logger "Fehler Muellbot Telegram: {e}"') @@ -198,7 +198,7 @@ class Muell: if ausgabe is not None: # Signal Bot try: - os.system(f'{config["signal"]["path"]} -a {config["signal"]["account"]} send -g {config["signal"]["group_id"]} -m "{ausgabe}"') + os.system(f'{self.__config["signal"]["path"]} -a {self.__config["signal"]["account"]} send -g {self.__config["signal"]["group_id"]} -m "{ausgabe}"') except Exception as e: os.system(f'logger "Fehler Muellbot Signal: {e}"')