From 83e0947d312e44843807777bfee504aab48de89a Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 6 Feb 2023 18:12:29 -0500 Subject: [PATCH] announcements: enable dev_mode when the debug flag is set Signed-off-by: Eric Callahan --- moonraker/components/announcements.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moonraker/components/announcements.py b/moonraker/components/announcements.py index 4bd4730..ad03e26 100644 --- a/moonraker/components/announcements.py +++ b/moonraker/components/announcements.py @@ -41,6 +41,7 @@ class Announcements: ) self.request_lock = asyncio.Lock() self.dev_mode = config.getboolean("dev_mode", False) + self.dev_mode = self.dev_mode or self.server.is_debug_enabled() self.subscriptions: Dict[str, RssFeed] = { "moonraker": RssFeed("moonraker", self.entry_mgr, self.dev_mode), "klipper": RssFeed("klipper", self.entry_mgr, self.dev_mode)