From dbbc87f18eba96146aa82d1216b3ee413661dc07 Mon Sep 17 00:00:00 2001 From: nlef <52351624+nlef@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:53:49 +0300 Subject: [PATCH] fix: use correct telegram bot config path (#600) * fix telegram bot config path * use _post)init_value --------- Co-authored-by: dw-0 Co-authored-by: dw-0 --- kiauh/extensions/telegram_bot/moonraker_telegram_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py b/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py index 51116de..70dac38 100644 --- a/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py +++ b/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py @@ -118,7 +118,7 @@ class MoonrakerTelegramBot: ) env_file_content = env_file_content.replace( "%CFG%", - f"{self.base.cfg_dir}/printer.cfg", + self.cfg_file.as_posix() ) env_file_content = env_file_content.replace( "%LOG%",